Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: (untagged)
is there a public api available to query by tags the articles at codeproject.com
Posted

You can achieve a this without any API. Just use HttpWebRequest and HttpWebResponse. The url to use for searching is this:

http://www.codeproject.com/search.aspx?doctypeid=1&q=C%2b%2b&sort=createddesc&field=tag[^]

By playing around with that search page I found out you can define in which field is being searched. By having the parameter field equal to tag the documents of doctypeid equal to 1 (articles BTW) you search for article by tag. All that is left to do for you now is to parse the response with the HtmlAgilityPack for instance.
Paging is done via the pgsize and pgnum parameters where pgsize denotes how many results are packed into the response and pgnum denotes which page number to return.

Hope this gives you an idea.

Best Regards,

-MRB
 
Share this answer
 
Not at the moment, there is one in the making, but no release date as of yet.
 
Share this answer
 
v3
Comments
Manfred Rudolf Bihy 6-May-11 8:02am    
You meant release date not data!
FTFY

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900