Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
xml feeds
Is it possible to take article excerpts from multiple txp sites and display on another txp site via xml? I havn’t googled it yet, thought I would ask first. I have several local sites that have content providers put in event’s and I’m thinking about making a small portal site that would make use of info from the other sites I’ve built.
-thanks in advance
kevin
Last edited by kvnmcwebn (2009-10-12 17:40:33)
its a bad hen that wont scratch itself.
photogallery
Offline
Re: xml feeds
Hi Kevin
It is very possible:) And you are provided with options too:)
Option 1. use a plugin like the simplepie plugin whose job is parsing feeds. The caveat is that you will also need a CRON script to delet the cache which means that the portal site will not be updated in real time.
One which I prefer is:
Option 2: using rah_external_output
Create the tags you want in the extensions and then bring them all together in the portal site using some basic php
<txp:php>include($DOCUMENT_ROOT . "http://external_site.com/?rah_external_output=some_name");</txp:php>
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: xml feeds
wow that’s cool colak .
I’m going to read up on the rah plug in now.
Just curious how much harder is it to bring in xml feeds from non textpattern aspx sites?
Or does it just require a wee bit more php?
Thanks a mill.
-kevin
its a bad hen that wont scratch itself.
photogallery
Offline
Re: xml feeds
Hi Kevin, Not hard at all with simplepie
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: xml feeds
Thanks colak.
I’ll let you know how I get on.
its a bad hen that wont scratch itself.
photogallery
Offline
Pages: 1