maildev@lists.thunderbird.net

Thunderbird email developers

View all threads

Manually parsing "update RDF"

JB
John Bieling
Sun, Aug 12, 2018 1:08 PM

Hello,

I want to manually parse a "update RDF" file, which follows the same
spec as the RDF file used by the AddOnManager to find the download link
of the latest version supported by the current version of Thunderbird.

Is that function available to be called from within an AddOn?

This question is not about extracting the parameter of em:updateURL from
the index.rdf! I already have the file I want to parse, I just do not
want to re-invent the wheel and write a parser on my own.

Additional question: Is the format of that update RDF changing after
TB60? Are there any information avail already?

Thanks
John

Hello, I want to manually parse a "update RDF" file, which follows the same spec as the RDF file used by the AddOnManager to find the download link of the latest version supported by the current version of Thunderbird. Is that function available to be called from within an AddOn? This question is not about extracting the parameter of em:updateURL from the index.rdf! I already have the file I want to parse, I just do not want to re-invent the wheel and write a parser on my own. Additional question: Is the format of that update RDF changing after TB60? Are there any information avail already? Thanks John
MM
Magnus Melin
Fri, Aug 17, 2018 7:42 PM

update.rdf is likely to go away before tb68.
https://bugzilla.mozilla.org/show_bug.cgi?id=857458

There is no function to parse it.

Read this:
https://blog.mozilla.org/addons/2018/05/10/switching-json-update-manifests/

 -Magnus

On 12-08-2018 16:08, John Bieling wrote:

Hello,

I want to manually parse a "update RDF" file, which follows the same
spec as the RDF file used by the AddOnManager to find the download
link of the latest version supported by the current version of
Thunderbird.

Is that function available to be called from within an AddOn?

This question is not about extracting the parameter of em:updateURL
from the index.rdf! I already have the file I want to parse, I just do
not want to re-invent the wheel and write a parser on my own.

Additional question: Is the format of that update RDF changing after
TB60? Are there any information avail already?

Thanks
John


Maildev mailing list
Maildev@lists.thunderbird.net
http://lists.thunderbird.net/mailman/listinfo/maildev_lists.thunderbird.net

update.rdf is likely to go away before tb68. https://bugzilla.mozilla.org/show_bug.cgi?id=857458 There is no function to parse it. Read this: https://blog.mozilla.org/addons/2018/05/10/switching-json-update-manifests/  -Magnus On 12-08-2018 16:08, John Bieling wrote: > Hello, > > I want to manually parse a "update RDF" file, which follows the same > spec as the RDF file used by the AddOnManager to find the download > link of the latest version supported by the current version of > Thunderbird. > > Is that function available to be called from within an AddOn? > > This question is not about extracting the parameter of em:updateURL > from the index.rdf! I already have the file I want to parse, I just do > not want to re-invent the wheel and write a parser on my own. > > > Additional question: Is the format of that update RDF changing after > TB60? Are there any information avail already? > > > > Thanks > John > > _______________________________________________ > Maildev mailing list > Maildev@lists.thunderbird.net > http://lists.thunderbird.net/mailman/listinfo/maildev_lists.thunderbird.net