[arch-dev-public] [RFC] archweb nvchecker integration

George Rawlinson grawlinson at archlinux.org
Thu Feb 3 16:48:35 UTC 2022


On 22-02-02 21:03, Felix Yan via arch-dev-public wrote:
> There is a regex plugin and a htmlparser plugin for this.
>
> The htmlparser plugin accepts XPath, but if you want to process it further
> the regex plugin may just work better.
>
> Examples for your packages:
>
> [html-xml-utils]
> source = "regex"
> url = "https://www.w3.org/Tools/HTML-XML-utils/"
> regex = "html-xml-utils-(.*?).tar.gz"
>
> [oil]
> source = "htmlparser"
> url = "https://www.oilshell.org/release/latest/"
> xpath = "//h1/text()"
> prefix = "Oil "

I am guilty of not reading the documentation. Thank you! :)

--
George Rawlinson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.archlinux.org/pipermail/arch-dev-public/attachments/20220203/2d736e68/attachment.sig>


More information about the arch-dev-public mailing list