Hi Guys!
I`m improving my site, and i wanted to import some threads from my blog (based on WordPress) to homepage.
I don`t want to integrate WordPress with my etomite instance - i`m just wondering if is there any simple way to fetch RSS feed and display it as text-content in my template...?
Any ideas!?
Page 1 of 1
How Import external RSS to my page...? as in topic... trying to find some snippet or something
#2
Posted 18 June 2009 - 10:19 AM
lunar, on Jun 18 2009, 10:20 AM, said:
Hi Guys!
I`m improving my site, and i wanted to import some threads from my blog (based on WordPress) to homepage.
...
Any ideas!?
I`m improving my site, and i wanted to import some threads from my blog (based on WordPress) to homepage.
...
Any ideas!?
See the earlier thread on using RSS feeds
I use a snippet derived from the lifestream snippet on a couple of my sites - the news page (and home page) on mike finley photography, and on the news page on the efikim gallery
#3
Posted 18 June 2009 - 10:20 AM
There are a few ways of tackling this.
clunky non-technical solution 1) use a 3rd party feed aggregator and use the wrapper snippet to embed it in a page using an iFrame.
semi-clunky solution 2) Pull the feed into a snippet using xml php functions (depending on the php version running on your host)- really requires php 5... and mark up the feed from the xml include by using a chunk and parsing it before rendering it on the page.
technical solution 3) Create a new etomite document with the content type of xml and create a new template that uses an XSL style sheet and embed the feed (using an include or other method) into the document as pure XML, then using a snippet like getSideBar or a snippet to get the contents and display it on another page as marked up text.
technical solution 4) use a snippet to read a feed and write it to a text file with html markup, then use the contents of that file to display in a page. Automatically delete and re-create the file based on the TTL settings of the feed (or other timing depending on how much you want to punish or protect the targeted server).
Unless someone else has created a feed reader for etomite, I don't think there's an easy out-of-the-box solution for what you are after.
[EDIT] - What Mike said.[/EDIT]
clunky non-technical solution 1) use a 3rd party feed aggregator and use the wrapper snippet to embed it in a page using an iFrame.
semi-clunky solution 2) Pull the feed into a snippet using xml php functions (depending on the php version running on your host)- really requires php 5... and mark up the feed from the xml include by using a chunk and parsing it before rendering it on the page.
technical solution 3) Create a new etomite document with the content type of xml and create a new template that uses an XSL style sheet and embed the feed (using an include or other method) into the document as pure XML, then using a snippet like getSideBar or a snippet to get the contents and display it on another page as marked up text.
technical solution 4) use a snippet to read a feed and write it to a text file with html markup, then use the contents of that file to display in a page. Automatically delete and re-create the file based on the TTL settings of the feed (or other timing depending on how much you want to punish or protect the targeted server).
Unless someone else has created a feed reader for etomite, I don't think there's an easy out-of-the-box solution for what you are after.
[EDIT] - What Mike said.[/EDIT]
This post has been edited by Cris D.: 18 June 2009 - 10:23 AM
Page 1 of 1

Sign In
Register
Help
MultiQuote