I have made a rudimentary plugin to display RSS feeds in GetSimple (to use it myself, until some decent PHP coder makes a better one) ;-)
GetFeed v0.4.1 beta - GetSimple Feed Reader/Fecther
Download: http://www.cyberiada.org/cnb/getsimple-plugin-getfeed/
Setup:
- Create a 'getfeed' directory in your plugins folder. Create another directory inside of this one, named 'magpierss'.
- Download MagpieRSS libraries (not included in the plugin) from http://sourceforge.net/projects/magpierss/files/ and uncompress it inside the 'magpierss' folder.
- Unzip the GetFeed plugin in your GetSimple plugins folder.
(Once the getfeed functions are first called, a 'getfeedcache' directory will be created in your GetSimple's data folder, to store feed cache files.)
Demos: http://webs.org.es/getfeed/
Usage
Insert calls to GetFeed functions in your template or components (e.g. sidebar)
Available functions:
getfeed_list_titles( FEEDURL [ , NUMPOSTS] )
sample function to display a list titles linking to source post.
getfeed_echo_posts( FEEDURL [ , NUMPOSTS] )
sample function, displays full posts. Customizable with CSS styles.
getfeed_output( FEEDURL , HTMLSTRING [ , NUMPOSTS ] )
customize feed output (this function is called by the first two)
Parameters:
FEEDURL is a string, the URL of the feed.
NUMPOSTS is optional: the maximum number of items to be displayed. Default is 0 = no maximum (all items)
In getfeed_output, HTMLSTRING must be a string containing HTML code, with the following keywords:
{{title}} - the post title
{{link}} - URL of the post
{{description}} - post body contents
{{date}} - date and time (if the script can get it)
{{pid}} - post ID. 1=first, etc. Maybe be useful for e.g. different styles (as used in sample function getfeed_echo_posts)
These keys/shortcodes that will be replaced by their correspondent values for each feed item.
GetFeed v0.4.1 beta - GetSimple Feed Reader/Fecther
Download: http://www.cyberiada.org/cnb/getsimple-plugin-getfeed/
Setup:
- Create a 'getfeed' directory in your plugins folder. Create another directory inside of this one, named 'magpierss'.
- Download MagpieRSS libraries (not included in the plugin) from http://sourceforge.net/projects/magpierss/files/ and uncompress it inside the 'magpierss' folder.
- Unzip the GetFeed plugin in your GetSimple plugins folder.
(Once the getfeed functions are first called, a 'getfeedcache' directory will be created in your GetSimple's data folder, to store feed cache files.)
Demos: http://webs.org.es/getfeed/
Usage
Insert calls to GetFeed functions in your template or components (e.g. sidebar)
Available functions:
getfeed_list_titles( FEEDURL [ , NUMPOSTS] )
sample function to display a list titles linking to source post.
getfeed_echo_posts( FEEDURL [ , NUMPOSTS] )
sample function, displays full posts. Customizable with CSS styles.
getfeed_output( FEEDURL , HTMLSTRING [ , NUMPOSTS ] )
customize feed output (this function is called by the first two)
Parameters:
FEEDURL is a string, the URL of the feed.
NUMPOSTS is optional: the maximum number of items to be displayed. Default is 0 = no maximum (all items)
In getfeed_output, HTMLSTRING must be a string containing HTML code, with the following keywords:
{{title}} - the post title
{{link}} - URL of the post
{{description}} - post body contents
{{date}} - date and time (if the script can get it)
{{pid}} - post ID. 1=first, etc. Maybe be useful for e.g. different styles (as used in sample function getfeed_echo_posts)
These keys/shortcodes that will be replaced by their correspondent values for each feed item.