1

Site: http://www.friendsorenemies.com/

That site has jQuery UI tabs set up with Features, VIP Blogs, and All. But how are they importing the content? Originally, I was thinking I could use a jQuery rss parser like zRSSFeed, but realized that the blog author avatars don't show in rss feeds nor does meta data like this below:

Posted By authorname | 1 Comment | May 6, 2011 | 5:39pm

Then, I thought maybe they are using iFrames? But I looked at the source code and they are not.

You can see that:

  • the Features tab is getting the content from this page.
  • the VIP Blogs tab is getting the content from this page.
  • the All tab is getting the content from this page.

Anybody have an idea? This has been driving me crazy.

mu is too short
  • 426,620
  • 70
  • 833
  • 800
J82
  • 2,327
  • 5
  • 26
  • 32

1 Answers1

0

They're just using the Tabs widget's AJAX feature.

jQuery UI will automagically load content via AJAX when you give a "real" link in the a tag for a tab.

John Flatness
  • 32,469
  • 5
  • 79
  • 81
  • Do you mean adding the page link in the `a` tag (e.g. http://bit.ly/kqkLL7)? If so, wouldn't it import the whole page and not just the blog section? – J82 May 08 '11 at 07:17
  • If you look at the source, you'll see that the links they're using are not the same as the ones you posted. They have a different URLs that display just the bare content for each of those pages, and the tabs use those URLs. – John Flatness May 08 '11 at 07:19
  • Thank you for your help. If you don't mind, I would really appreciate it if you can point out exactly where in the source these links are. I must have looked it over about a hundred times. Would you mind? – J82 May 08 '11 at 07:21