|
Jul
28
1
|
RSS Made Even Simpler |
|||||
Syndication isn't only for blogs; it can be used for any type of site with any sort of infomation. Blogs typically already include robust feed support (including both RSS & Atom), but what about if you want to create a feed for a site that isn't a blog? Easy — use the below class to do it. So what does this have to do with SEO? Feeds are effective vehicles to disseminate information. Your site can release information via a feed, usually abbreviated, then include a link to the full content. This will, over time, garner many links from various sites that want to syndicate the information. It is wise to abbreviate the amount of information provided, as the full content appearing on various sites may cause duplicate content problems. Note: It is also likely that lots of spammers will use the feed over time to create pages with Frankenstein content MFA-type sites. I've never been hurt by this, though. So here is the code. <? class MakeRSSFeed var $_title; function _escapeXML($str) } ?> <? $rss_feed = new MakeRSSFeed('My RSS Feed', 'http://www.example.com/news.html', 'Example dot Com News'); $rss_feed->addItem('News Story', 'http://www.example.com/news1.html', 'Story 1'); echo $rss_feed->get('2.0'); ?> Related posts: Using Syndicated Content in Moderation Syndicated content is content that is authored by another source... Social Bookmarking PHP Library Many of us use social bookmarking sites — del.icio.us, digg,... How You Can Stop Dirty Feed Scrapers In 3 Easy Steps Stealing is wrong; but some people just don't seem to... Matt Cutts Gems: Part II This is a summary of the videos located at http://www.mattcutts.com/blog/another-two-videos/... Site Review: www.elitehosts.com Elite Hosts is a smaller full-service web hosting company. If...
| ||||||
"Only One Wise Comment Banged Out Somewhere On The Internet ..."
Problem with RSS Feed in WordPress.
|


















