parse this link may easier http://docs.turbogears.org/TitleIndex?action=titleindex
==================================== import urllib2 import re acquire_site = "http://docs.turbogears.org/" acquire_version = "1.0" doclist = "TitleIndex?action=titleindex" def get_doclist(): docs = urllib2.urlopen(acquire_site + doclist) targets = [] for link in docs.readlines(): if re.match(acquire_version, link): targets.append(link) print targets ============================== The above code simply filter and return the 1.0 docs list for us, the question is, what kind of the offline documents that users prefer to have? -- Fred --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Docs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears-docs?hl=en -~----------~----~----~----~------~----~------~--~---
