Friday, February 27, 2009

Adding Craigslist RSS Feeds to your site can be a good promotion

I've been carrying Craigslist RSS feeds on a clients Real Estate website for quite a while, and after sticking with these somewhat secondary pages on the site, I have to say that the effort has born some fruit.

If your not familiar with RSS, its an XML based file format that a sending and receiving party to share data easily. It's tag based, like html, but the main intention of XML and RSS is to transfer the content, with less emphasis on how it should be displayed (there are techniques to specify preferred display now with XML, but we'll leave that for another day).

To display others RSS feeds on your website, you need:
- A dynamic website with some language that can be run on yor webserver. I use PHP.
- An XML parse module (or you could write your own from scratch but it's not necessary)

The way it works is that, when someone hits a page on my site that contains an RSS feed, my website server dynamically goes and hits the RSS feed address of the other site, such as Craigslist, pulls the data back realtime, and parses it for display in html on my page. Keep in mind though that what your retriveing is not html and not ready for immediate display. You have to read the records and output them in html, just as any other dynamic webpage works.

RSS is a boiled down XML specification, and typically includes a list of "News stories" or items. Each item consists of title, description, author, date, and a link to the full article on the originators site (Yes there's something in it for them too).

Here's some stats from my clients site to show you how including craigslist pages have helped with traffic:

Top Entry pages for February 2008(Webalizer)
1 2779 4.58% 1374 27.90% /
2 178 0.29% 127 2.58% /listings/314.html
3 138 0.23% 107 2.17% /craigslistannarbor.html
4 140 0.23% 99 2.01% /craigslistdetroit.html
5 256 0.42% 83 1.69% /listings/lakeproperties.html
6 175 0.29% 76 1.54% /adminsect/rsr-links.html
7 139 0.23% 75 1.52% /listings/311.html
8 165 0.27% 73 1.48% /listings/vacant.html
9 161 0.27% 62 1.26% /lakesomerset.html
10 68 0.11% 57 1.16% /listings/139.html


Top Search Queries(Google Webmaster Tools)
1 27% remerica 9
2 16% michigan real estate listings 8
3 7% craigslist ann arbor mi 8
4 4% craigs list ann arbor mi 3
5 4% vacant land for sale in michigan 9
6 3% somerset michigan 9
7 3% remerica real estate 8
8 3% craigslist ann arbor michigan 9
9 3% craigslist for ann arbor mi 5
10 2% somerset mi 9
11 2% craigslist ann arbor 46


Top Content last 30 days (Google Analytics)
1. / 745 433 00:01:28 38.16% 32.35% $0.29
2. /listings/lakeproperties.html 351 181 00:00:57 35.00% 17.38% $0.17
3. /listings/vacant.html 205 125 00:00:43 52.50% 31.71% $0.08
4. /listings/residential.html 202 118 00:00:53 39.47% 23.27% $0.08
5. /listings/314.html 199 171 00:01:14 77.37% 65.33% $0.00
6. /index.php?framecontent=mls-drilldown-menu.php&county=Hillsdale 184 46 00:00:20 0.00% 1.63% $0.11
7. /southern-michigan-mls-county-index.html 182 87 00:00:20 10.00% 4.95% $0.23
8. /listings/311.html 157 122 00:00:55 66.67% 40.76% $0.00
9. /lakesomerset.html 150 113 00:01:11 41.18% 38.00% $0.13
10. /craigslistannarbor.html 143 120 00:04:36 83.90% 81.82% $0.00
11. /listings/223.html 137 82 00:00:58 20.00% 10.95% $0.00
12. /listings/all.html 130 67 00:01:02 27.27% 16.92% $0.07
13. /listings/326.html 121 80 00:00:32 50.00% 23.97% $0.12
14. /listings/319.html 119 61 00:00:42 39.47% 26.05% $0.08
15. /craigslistdetroit.html 118 98 00:04:21 82.47% 78.81% $0.10


To find the Page Address of RSS Feed for the Craigslist page you's like to add to your site and select your region (I think craigslist makes you select a region first). For me, that takes me to http://jxn.craigslist.org/
Then I select "Real Estate for Sale", and click on the Orange RSS Icon at the bottom right of the screen, as shown.




Don't worry about the format of the resulting page that you get; it may look strange because its rss/xml, not html. The important thing now is to grab the address from your browser bar. That's the address that any software you set up will need to refer to to pull the feed.

So the Craigslist's page for Jackson Michigan Commercial Listings is:
http://jxn.craigslist.org/off/

(Don't confuse that with the RSS feed address. To get that you would need to go to that page, scroll to the bottom, and click on the orange RSS link icon, as previously discussed).

You can see the result of subscribing to the feed by going to my clients site at
http://www.remericasomersetrealty.com/craigslistjackson.html

2 comments:

Unknown said...

Hi. This sounds interesting. I'm a newbie, and I don't understand about XML parse module. Can you advise me on something like that? Obviously I have no idea how to write something like this!

Unknown said...

Gman, hope the tips I sent you helped