[EMAIL PROTECTED] wrote:
> 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?

I would assume html, although I see two requests for pdf on
docs.tg.org/1.0

I think most people would be happy with offline docs in any form at
this point.

When the switch happens to docudo I think it would be cool to have the
ability to install docudo* and have it import docs from the main site.
Nice combination of offline documentation and easy access to a fine
documentation system for your own project.

* Note that I know absolutely nothing about docudo, so if this idea is
stupid/unfeasible blame my ignorance, not me.

-Adam


--~--~---------~--~----~------------~-------~--~----~
 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to