{"id":2635,"date":"2015-04-16T10:13:03","date_gmt":"2015-04-16T10:13:03","guid":{"rendered":"http:\/\/wiki.davelevy.info\/?p=2635"},"modified":"2015-04-16T10:38:09","modified_gmt":"2015-04-16T10:38:09","slug":"planet-mingle-wordpress","status":"publish","type":"post","link":"https:\/\/davelevy.info\/wiki\/planet-mingle-wordpress\/","title":{"rendered":"Planet, mingle &#038; wordpress"},"content":{"rendered":"<p>While developing the new web site, I had a look at how my mingle was organised. The current regime has a conversion rules file for each output format and one for HTML. I need to incorporate the HTML output in a wordpress page and also apply the wordpress style rules to the HTML. I solved this problem by generating three html files, a feed, a source key and an output format key and then including them in the host page.<!--more--><\/p>\n<p>These files reference the theme CSS files and also hold some local styling, which shouldn&#8217;t be necessary but I think there&#8217;s an object model clash so both locations i.e. the theme CSS and the html file have their disadvantages.\u00a0 I include them in the wordpress page using an IFRAME tag within a <a href=\"https:\/\/wordpress.org\/plugins\/simple-embed-code\/\">Code Embed<\/a> alias.<\/p>\n<p>This means I have the template files in the planet source directory, and they generate the html into the output directory. Amendments, such as the insertion of a new feed format need to be made in the source directory template files. The compiled template file needs to be deleted.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>While developing the new web site, I had a look at how my mingle was organised. The current regime has a conversion rules file for each output format and one for HTML. I need to incorporate the HTML output in a wordpress page and also apply the wordpress style rules to the HTML. I solved&#8230;<\/p>\n","protected":false},"author":1,"featured_media":2636,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","_share_on_mastodon":"0"},"categories":[27,3],"tags":[867,59,859,920,911,28],"class_list":["post-2635","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","category-technology","tag-mingle","tag-planet","tag-planet-venus","tag-software","tag-technology","tag-wordpress"],"share_on_mastodon":{"url":"","error":""},"jetpack_featured_media_url":"https:\/\/davelevy.info\/wiki\/wp-content\/uploads\/2015\/04\/venus-lp-175h.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/2635","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/comments?post=2635"}],"version-history":[{"count":1,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/2635\/revisions"}],"predecessor-version":[{"id":2637,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/2635\/revisions\/2637"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/media\/2636"}],"wp:attachment":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/media?parent=2635"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/categories?post=2635"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/tags?post=2635"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}