Is there a way to embed rss feed using html or PHP. I would like to embed it in wordpress posts. thanks
I use server side java to embed rss feeds [even in blog posts]. One could also use PHP or any server side scripting or program function. AJAX can also be used but is not always compatable with older browsers. Q...
Yeah you can do it, but I'm not aware of a WordPress plugin that will do it (I've been looking). Deathshadow did write an RSS parser in PHP though, if you'd like to try it. You'll probably have to create a customized template page and then run it through there if you were to try and include it. You can find the parser he wrote (with a couple minor modifications by me) at the Web site I'm building (the link is below, but is plain text since I will be taking it down once the site goes live). minimalmarkup.com/temp/rss/
The new SimpleXML functions in PHP5 sure make working with XML much easier. If you can dabble a bit in PHP, you should be able to write the code for this yourself. I did it, so it can't be too hard
I have a couple I'm working on at the moment (finally taking some time off to get MY sites finished). If you want to know what they are, feel free to PM me as I'm not favorable to self promotion on the boards themselves unelss I'm posting a link to a page that I believe that people will find useful (like a tutorial on how to use negative margins and floats to create source-ordered column layouts for example).
What's wrong with self-promotion in your opinion? Not giving a hard time, just interested in others viewpoints. Tks
Uhm, Dan - just one thing. There's another advantage to using cache instead - and it's the real reason I did it which has nothing to do with the site sending the feed. Waiting for the other sites to respond leaves your own server hanging waiting on requests - often longer than the timeout limit so the user gets a 502 or worse, your logs fill up with 408 errors. This is where most other 'fancier' implementations actually fail miserably. Because there's nothing worse than having multiple connects sitting open for one user request. The original is here: http://battletech.hopto.org/for_others/rss/ with some nice pretty .phps files in there. (I still need to rewrite my phps template to remove the acid trip color coding or at least make it easier to read... and make the bloody thing use two space tabs)
I just try not to step on other peoples' toes. Even then it doesn't always work (one of my favorites was being reprimanded for "thread jacking" because I posted a link to someone else's SEO guide in a thread about SEO help - and for the record, I'm active on multiple forums; heck, I'm a Mentor over at SitePoint, if that even means anything here - that reminds me, SitePoint needs to update that thread AND put some real text there by my name...).
I have a WP plugin that you just paste in the RSS feed and it automatically posts entries from that feed when they are updated. PM me if you want it... for free of course...