Reputation: 2387
This site is built on Ning. You'll notice they have jQuery tabs set up on the home page and looking through the source code, you'll see that those tabs are getting their content from an outside url (below):
<div class="ui-tabs" id="tabs">
<ul>
<li><a href="http://friendsorenemies.com/vip/blog/embedPromoted?pageSize=10">Features</a></li>
<li><a href="http://friendsorenemies.com/vip/blog/embedVip?pageSize=10">Vip Blogs</a></li>
<li><a href="http://friendsorenemies.com/vip/blog/embedAll?pageSize=10">All</a></li>
</ul>
</div>
However, those urls aren't standard to Ning (I've tried appending /vip/blog/embedPromoted?pageSize=10 on a similar Ning blog url and it didn't work) which leads me to believe that they were created separately somehow to extract just the blog posts. Here is what a blog page on Ning looks like for reference: link
Anybody have an idea of how they created these pages with just the blog posts? I originally thought of using the blog's rss feed but realized the rss doesn't include author avatars and certain post metadata information like how it is in the first link I posted above.
Any help would be hugely appreciated.
Thanks to all in advance!
Upvotes: 0
Views: 718
Reputation: 3405
The /vip
URLs on that Ning site is a custom feature from when Ning used to host custom PHP code. Since it's a custom feature, it's not available on other sites.
It's possible to create something similar using the Ning API to aggregate blog content from a specific set of members into a single HTML page or RSS feed. It would have to be implemented on an external server.
Upvotes: 0
Reputation: 49410
What do you mean by rss feeds don't include the author's avatar
? It is included in the link you have in your OP.
One way this could have been implemented is that they apply a XSLT temnplate to a RSS feed to build the HTML page .
Upvotes: 0
Reputation: 6798
Check out rssinclude.com, handy way to drop RSS feeds into a site.
If that won't work, you can use the QueryPath library to grab the HTML from the site jQuery style, but in PHP.
Upvotes: 0