Craigslist 自动发帖 API?
我正在查看 craigslist 批量发布部分,它需要将 RSS 提要发送到服务器以自动发布添加,该网站位于
http://www.craigslist.org/about/bulk_posting_interface
我已经上下查找了 php 类的示例,但找不到。有人知道存在什么类吗?谢谢
i was looking through craigslist bulk posting section and it requires an rss feed to be sent to a server to automatically post an add the site is found at
http://www.craigslist.org/about/bulk_posting_interface
i have looked up and down for a sample of a php class but cannot find out. anyone know of any class that exists? thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我刚刚检查了 CL 的使用条款,它明确提到任何自动发布都是非法的。因此,如果您希望扩大这是一个通用的商业想法,请注意:
I just checked the CL's terms of use and it explicitly mentions any automated posting to be illegal. So, if it is a generic commercial idea you wish to scale up, note that:
我已经为您搜索了这一点,并发现了相同的结果 - 目前,似乎没有任何现有的、免费可用的 PHP 类来处理 Craigslist 批量上传。
我还发现其他人在寻找相同的内容时,已经在自由职业板上发布工作,例如 Freelancer.com 吸引开发人员为他们创建一个。
看起来你必须自己编写这段代码,或者花钱请人帮你写。对不起。
附录:
参考Craigslist批量发帖接口帮助页面,有页面末尾包含 Perl 脚本示例,以及批量发布所需的 XML/RSS 格式示例。
实现您想要的最简单的方法是让 PHP 脚本创建 RSS/XML 文件,然后触发 Perl 脚本执行上传并将结果记录到第二个文件中(或直接返回脚本) 。
I have searched around for this for you, and have found the same results - At this time, there does not appear to be any existing, freely-available PHP classes to handle Craigslist Bulk Uploads.
I have also found that others, searching for the same, have resorted to posting jobs on freelancing boards like Freelancer.com to engage developers to create one for them.
Looks like you will have to write this code yourself, or pay someone to do it for you. Sorry.
APPENDUM:
Referring to the Craigslist Bulk Posting Interface help page, there is an example Perl script included at the end of the page, along with examples of the XML/RSS formats required for bulk-posting.
The simplest way to achieve what you want would be to have a PHP script create the RSS/XML File(s) and then trigger the Perl Script to perform the Upload and record the results into a second file (or straight back to the script).
我找到了一个用于 CL 批量发帖的 PHP 脚本示例。不确定您是否仍在为此寻找 PHP 包装器。
这是我从 open-reality.org 线程中找到的代码:
来源:http://support.open-realty.org /showthread.php?23764-在 Craigslist 中批量发帖
I found an example of a PHP script for CL bulk postings. Not sure if you're still looking for a PHP wrapper for this or not.
Here's the code I found from this open-reality.org thread:
Source: http://support.open-realty.org/showthread.php?23764-Bulk-posting-in-Craigslist
请记住,API 目前已对新帐户关闭。我不确定他们什么时候计划再次开放(如果有的话)。
然而,有一个网站正是这样做的,并且他们声称这是合法的。 www.repost123.com 所以我不确定 Craigslist 说任何类型的自动发帖都是非法的是什么意思。
Keep in mind, the API is closed for new accounts as of now. I'm not sure when they are planning on opening it again, if ever.
However, there is a site that does exactly this, and they claim it is legal. www.repost123.com So I am not sure what Craigslist means when they say that any kind of automated posting is illegal.