How can I include a feed? #160
-
There is a plugin for offering a feed to other sites. Is there a simple solution for including feeds from other pages?
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
Sorry, the feed plugin shows only changes from your own website. To show feeds from other websites you can use any PHP code to display an RSS feed. |
Beta Was this translation helpful? Give feedback.
-
;) "any PHP code to display" is my challenge. I did not find something that looks reusable to me for creating a plugin (I admit: I didn't spend currently much time on searching). Coding directly within a template is a quite good hint, that makes it easier for me. Thanks! (Success will be documented here) |
Beta Was this translation helpful? Give feedback.
-
I'm using a simple script based on simplexml_load_file function which is already included in php5, so no need for extra classes like magpie or something. Explanations are in german, the script itself however is fairly simple to use. A drawback is missing caching functionality, but for me this isn't a problem yet.
Thats it. Not an elegant solution, but it works for my purposes. Maybe my next challenge is to transform this into a plugin. HTH |
Beta Was this translation helpful? Give feedback.
-
Thank you! That seems to be the thing, I was looking for. I will try this next week. |
Beta Was this translation helpful? Give feedback.
I'm using a simple script based on simplexml_load_file function which is already included in php5, so no need for extra classes like magpie or something.
http://webdesign.weisshart.de/rss2html.php
Explanations are in german, the script itself however is fairly simple to use. A drawback is missing caching functionality, but for me this isn't a problem yet.
<?php echo $yellow->page->…