https://bugs.freedesktop.org/show_bug.cgi?id=71150

Qubit <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #4 from Qubit <[email protected]> ---
We can get a list of current stable versions of LibreOffice from here:
http://download.documentfoundation.org/libreoffice/stable/

[Note: That list might be a little behind the EOL dates per the ReleasePlan
page, but it won't lag more than about a month]

Rob wonders: Can we get that list in something easier to parse, such as JSON or
XML?

Cloph - Thoughts on how difficult it would be to output in a different format?

---

In the meantime, we can have an hourly cron job parse the page with something
like this:
qubit@lo~$ sed -n 's/.*<td><a href="\([^/]*\)\/.*[0-9][0-9]-.*/\1/p' stable.htm
4.0.6
4.1.3

Actually, JSON would be even easier to deal with:
sed -n 's/.*<td><a href="\([^/]*\)\/.*[0-9][0-9]-.*/"\1"/p' stable.htm | paste
-s -d, | sed 's/\(.*\)/[\1]/' > /somewhere/for/bsa/stable-versions.json

Cheers!

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to