Retrive parts of external content and include in blog framework
The markup from external source must be tagged with specific html-comments. Plugin retrives markup from start/end comments.
The htmlfile path is default set to /themes/TEMPLATENAME/em_cache/ Create folder /themes/TEMPLATENAME/em_cache/ and make it writeable (chmod 777)
The file external_markup_functions.php must be included in the template functions.php. Copy the file external_markup_functions.php into your template folder.
Example: include_once (TEMPLATEPATH . '/external_markup_functions.php');
Example: For retriving navigation markup from http://www.tv4.se; Function call in template: em_showContent("main-navigation start","main-navigation end",EM_EXAMPLE,FALSE)
Explanation of function call: em_showContent(HTML-COMMENT-START,HTML-COMMENT-END,DEFINE HTMLFILENAME,COMPRESS)
==
Websites that are using this plugin: http://stylebykling.tv4.se/ http://lundh.fotbollskanalen.se/ http://sciencefictionbloggen.tv4.se/
Requires: 2.7.1 or higher
Compatible up to: 2.8.2
Last Updated: 2011-1-31
Downloads: 253
Got something to say? Need help?