{"id":62196,"date":"2012-01-22T07:17:25","date_gmt":"2012-01-22T07:17:25","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/wp-xml-template\/"},"modified":"2012-01-22T07:17:25","modified_gmt":"2012-01-22T07:17:25","slug":"wp-xml-template","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/wp-xml-template\/","author":5605747,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"","stable_tag":"trunk","tested":"","requires":"","requires_php":"","requires_plugins":"","header_name":"wp-xml-template","header_author":"","header_description":"","assets_banners_color":"","last_updated":"2012-01-22 07:17:25","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.wpgallery.co.uk\/wp-xml-template\/","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":402,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":[],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-62196","plugin","type-plugin","status-closed","hentry","plugin_committers-jv2win"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-xml-template.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"","raw_excerpt":"<p>= Purpose<\/p>\n<p>With this plugin you could create a (template) post describing an embedded video or a mobile phone deal &quot;box&quot;. If you later decide to change the way it looks or you want to render it differently on another site then you only have to change the template instead of updating all instances of it on every page it occurs on. Likewise if you want to add more similar content you just have to update the xml file.<\/p>\n<p>= Usage<\/p>\n<p>The most important aspect of this plugin is that it offers content rendering based on recursion of XML data.<\/p>\n<p>The XML data is typically read and pushed to the custom variables of posts or pages that are designated to be templates. Templates embed their own custom variables within template tags embedded in their post content.<\/p>\n<p>Nested {rewrite: }..{\/rewrite:} directives are used in templates to iterate the content at different levels based on different nodes in the XML document.<\/p>\n<p>Templates can be called ad-hoc from other pages or templates and the value for custom variables passed.<\/p>\n<p>Global variables can be defined om the plugin settings page to record the post numbers of templates.\n<\/p>","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/62196","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=62196"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/jv2win"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=62196"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=62196"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=62196"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=62196"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=62196"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=62196"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}