Django doc recipe ( need some tip )
Hi,
I wrote this recipe for read django documentation on my kindle.
( I like kindle news menu )
There is a better solution ? ( es not news recupe but something else?)
I like to manage "internal" link , so I need convert url like
<a class="reference internal" href="../../ref/contrib/admin/#django.contrib.admin.ModelAdmin.fieldsets" ......</a>
to something like
<a class="reference internal" href="/feed_1/article_15/index.xhtml#django.contrib.admin.ModelAdmin.fields ets" ......</a>
1) there is already some function to do this ?
2) if not, where is the right place ( method name ) where:
- record download_url -> feed/article
- parse and substitute url
3) which is the correct format of new url ?
in the meantime I can try to fix errors like:
Referenced file u'/tmp/calibre_1.47.0_tmp_u8U8s8/pylBRj_plumber/feed_3/article_4/index.xhtml' not found
that seems correlated.
Hope You can understand regardless my bad english.
Regards, Mauro
|