[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: watch file troubles again :)



Am Dienstag, den 29.09.2009, 23:27 +0200 schrieb Jérémy Lal:
> This time the web page contains this :
> <a href="/path/to/mypackage.zip" class="myclass">mypackage.zip</a> - v1.01
> 
> I'm stuck with uscan getting what's inside an href.
> Is there a way to get the version number, which is outside the href ?

No. You can of course write your own processor of the upstream website
similar to the sf.net redirector page Debian uses (e.g. process the
upstream website with an XSLT stylesheet and output a HTML site you can
then use for uscan). But thast's a lot of work. It is probably better
you try to talk to upstream to release archives with versions and make
mypackage.zip a symlink to the latest release.

Regards, Daniel


Reply to: