Craigslist API - how to publish RSS feeds?

http://www.craigslist.org/about/bulk_posting_interface - it says: "New posts are sent to Craigslist in RSS format with additional Craigslist dependent elements via HTTPS POST"

How to submit a form that submits rss data?

I was hoping just something like this:

<form action="https://post.craigslist.org/bulk-rss/post" type="post"> <input type="hidden" name="area" value="richmond" /> <input type="hidden" name="category" value="free" /> <input type="hidden" name="reply-email" value=" x@y.com " /> </form> 

But it says that I have to provide the data in RSS format.

So something like this?

 <form action="https://post.craigslist.org/bulk-rss/post" type="post"> <input type="hidden" value="{all the RSS data goes here??}" /> </form> 

Any help is greatly appreciated. In the end, I would like to create an Android application that goes to Criagslist, but just want to get a simple html form to check the proof of concept for now. Thanks!

+4
source share
2 answers

I also tried to figure this out, but from what I read about this RSS interface, it is only available for non-free categories, such as vacancies and real estate advertisements. These categories require you to purchase credit sending units.

IMO is a good reason not to use Craigs List. In any case, they should open the RSS interface for all categories and, possibly, limit the speed of publication for free ads and / or allow people to buy blocks for other categories.

0
source
 The format of the request will look like this <?xml version="1.0" encoding="UTF-8"?> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:cl="http://www.craigslist.org/about/cl-bulk-ns/1.0"> <channel> <items> <rdf:li rdf:resource="NYCBrokerHousingSample1" /> </items> <cl:auth username=" Vusername@gmail.com " password="password" accountID="14" /> </channel> <item rdf:about="NYCBrokerHousingSample1"> <cl:category>fee</cl:category> <cl:area>nyc</cl:area> <cl:subarea>mnh</cl:subarea> <cl:neighborhood>Upper West Side</cl:neighborhood> <cl:housingInfo price="1450" bedrooms="0" sqft="600" /> <cl:replyEmail privacy="C"> bulkuser@bulkposterz.net </cl:replyEmail> <cl:brokerInfo companyName="Joe Sample and Associates" feeDisclosure="fee disclosure here" /> <title>Spacious Sunny Studio in Upper West Side</title> <description><![CDATA[posting body here]]></description> </item> <item rdf:about="NYCBrokerHousingSample2"> <cl:category>fee</cl:category> <cl:area>nyc</cl:area> <cl:subarea>mnh</cl:subarea> <cl:neighborhood>Chelsea</cl:neighborhood> <cl:housingInfo price="2175" bedrooms="1" sqft="850" catsOK="1" /> <cl:mapLocation city="New York" state="NY" crossStreet1="23rd Street" crossStreet2="9th Avenue" latitude="40.746492" longitude="-74.001326" /> <cl:replyEmail privacy="C" otherContactInfo="212.555.1212"> bulkuser@bulkposterz.net </cl:replyEmail> <cl:brokerInfo companyName="Joe Sample and Associates" feeDisclosure="fee disclosure here" /> <title>1BR Charmer in Chelsea</title> <description><![CDATA[posting body goes here]]></description> <cl:PONumber>Purchase Order 094122</cl:PONumber> <cl:image position="1">/9j/4AAQSkZJRgABAQEASABIAAD/4QCARXhpZgAATU0AKgAAAAgABQESAAMAAAABAAEAAAEaAAUA AAABAAAASgEbAAUAAAABAAAAUgEoAAMAAAABAAIAAIdpAAQAAAABAAAAWgAAAAAAAABIAAAAAQAA AEgAAAABAAKgAgAEAAAAAQAAABCgAwAEAAAAAQAAABAAAAAA/9sAQwABAQEBAQEBAQEBAQEBAQEB AQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEB/9sAQwEBAQEB AQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEB AQEB/8AAEQgAEAAQAwERAAIRAQMRAf/EAB8AAAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkKC//E ALUQAAIBAwMCBAMFBQQEAAABfQECAwAEEQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJ ChYXGBkaJSYnKCkqNDU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeI iYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2drh4uPk5ebn6Onq 8fLz9PX29/j5+v/EAB8BAAMBAQEBAQEBAQEAAAAAAAABAgMEBQYHCAkKC//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