What are the other ways of injecting rss feeds into a webpage w/out slowing the page load other than Ajax?

StackOverflow https://stackoverflow.com/questions/12016052

Question

I'm in a somehow tough situation here. I need to load data from multiple rss feeds into my page without slowing the page load. I first used Ajax to do so but my boss insisted that it should not affect the seo ranking of the page.
Therefor I think Ajax is out of the question here. Now I need to find a workaround for this problem very soon.
The other rss feed origins are all wordpress and are located on the same server (they're actually ours) and I have direct access to database.
I thought maybe I could make my own database connection and query the data, but without the wordpress built in functions and classes it's kinda difficult to do.
I'm open to any suggestions.

Était-ce utile?

La solution

Nettuts has a good screen cast on using SimpleXML to parse and display an rss feed. It should give you what you need to load everything on the server side, so Ajax doesn't hurt your SEO.

http://net.tutsplus.com/articles/news/how-to-read-an-rss-feed-with-php-screencast/

Autres conseils

I would recommend using javascript webworkers which will get the rss feed data using background thread. It will not disturb your UI thread and hence maintain good user experience. I even implemented searching and sorting using web workers. But check the compatibility of web workers on different browsers at caniuse . Also, according to wikipedia IE10 has support for it. So, If you can make it work, it can do wonders for you.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top