cnews2rss.pl
Scan www.cannabisnews.com pages
and turn them into various RSS feeds.
Examples:
home page RSS feed (XML)
http://www.drugpolicycentral.com/dpcgi/cnews2rss.pl?xml=1
The cannabisnews home page, as RSS.
latest posts (XML)
http://www.drugpolicycentral.com/dpcgi/cnews2rss.pl?latest=1
An RSS feed listing the latest postings on cannabisnews.com.
home page medical items (XML)
http://www.drugpolicycentral.com/dpcgi/cnews2rss.pl?type=medical
From the home page, specific categories may be selected with type= .
In this example, type=medical limits the display to items in
the cannabisnews "medical" category. Using type=justice
would just get the justice items, type=DEA the DEA category items,
and so on. (categories: America, Clinton, DARE, DEA, FBI,
MAP News, NIDA, NORML, arrests, cannabis, drug_testing, hemp,
justice, medical, narcotics, paraphernalia, police, science,
surveillance, violence.)
thread number 19811 (XML)
http://www.drugpolicycentral.com/dpcgi/cnews2rss.pl?thread=19811&rss=2.0
Single threads may be converted to RSS, also. In this example
we ask for thread 19811. Threads are specified by number.
Also, the rss= option lets us specify the desired RSS version.
(The RSS version defaults to 1.0; rss= may be specified for any
of the commands that generate RSS.)
this help (HTML)
http://www.drugpolicycentral.com/dpcgi/cnews2rss.pl
Leave off the options, and this html help page is returned.
more cnews RSS 1
| 2
| 3
| 4
| What is RSS?
Questions? Comments? doug@drugsense.org