Re: Wikipedia API Parser

2012-12-17 Thread Richard Steele

 They have a pretty simple API - http://www.mediawiki.
 org/wiki/API:Main_page
.
 
 
 Here is a quick example:
 
 cfset wURL = 
 http://en.wikipedia.org/w/api.
php?format=json 
action=querytitles=Adobe%20ColdFusionprop=revisionsrvprop=content
 
 cfhttp url=#wURL#
 cfdump var=#cfhttp.fileContent#
 
 
 
 On Sun, Dec 16, 2012 at 10:49 AM, Richard Steele r...@photoeye.com 
 wrote:
 
 
  I want to pull pages for individuals from Wikipedia and insert them 
 into a
  website. Has someone come up with a way to do this with Coldfusion?
 
  Thanks!
 
  

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353508
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Wikipedia API Parser

2012-12-17 Thread Richard Steele

Thanks Ray. Has someone come up with a parser of the content that formats it 
properly?

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353509
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Wikipedia API Parser

2012-12-16 Thread Richard Steele

I want to pull pages for individuals from Wikipedia and insert them into a 
website. Has someone come up with a way to do this with Coldfusion?

Thanks! 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353493
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Wikipedia API Parser

2012-12-16 Thread Raymond Camden

They have a pretty simple API - http://www.mediawiki.org/wiki/API:Main_page
.

Here is a quick example:

cfset wURL = 
http://en.wikipedia.org/w/api.php?format=jsonaction=querytitles=Adobe%20ColdFusionprop=revisionsrvprop=content

cfhttp url=#wURL#
cfdump var=#cfhttp.fileContent#



On Sun, Dec 16, 2012 at 10:49 AM, Richard Steele r...@photoeye.com wrote:


 I want to pull pages for individuals from Wikipedia and insert them into a
 website. Has someone come up with a way to do this with Coldfusion?

 Thanks!

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353503
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm