[Project_owners] Fairefox update.rdf and mozdev mime types

Matthew Wilson matthew at mjwilson.demon.co.uk
Tue Jul 27 21:03:06 EDT 2004


I am currently using

   http://wmlbrowser.mozdev.org/wmlbrowser-update-test.rdf

as a test. It's served as text/xml, and seems to be working at the 
moment. (Actually, I'm getting occasional failures, but that might be 
due to some mirrors not having been updated yet, I suppose.)

Matthew

John Woods wrote:
> Mattew,
> 
> Ok, I put a test file on my space,
> http://mysite.verizon.net/johnrw/public/XPI-firefox_0_9_0_12_mozdev_test.xpi
> 
> that is set to use the rdf file at mozdev to query for updates.
> The file at mozdev says version 0.9.0.16 is currently available for
> updates... and this test file is set at 0.9.0.12.
> 
> I installed the test file on a brand new Firefox profile, and it says
> no updates are available.
> 
> Now (again!) I have to think Firefox really needs the text/rdf mime type.
> 
> /jw
> 
> 
> 
> On Mon, 26 Jul 2004 18:36:08 -0400, John Woods <johnrw at gmail.com> wrote:
> 
>>Mathew,
>>
>>When I load this...
>>http://update.mozilla.org/update.rdf
>>Ctrl-I (pageInfo) i get...
>>application/vnd.mozilla.xul+xml
>>
>>and then Jed's
>>http://jedbrown.net/dev/Mozilla/QNupdate.rdf
>>Jed's pageInfo gives
>>application/vnd.mozilla.xul+xml
>>
>>but
>>http://googlebar.mozdev.org/update.rdf
>>pageinfo gives just text/xml
>>
>>all 3 are standards compliance mode.
>>but if the verdict is... the file is okay the way it is...
>>I'll test it with about:config shortly.
>>
>>I'd rather leave it as an text/xml
>>(mozilla renders it as a collapseable tree, and i think that's cooler)
>>
>>(I still have to wonder why Ben said text/rdf so clearly excluding any others)
>>
>>thanks,
>>/jw
>>
>>
>>
>>
>>On Mon, 26 Jul 2004 22:54:15 +0100, Matthew Wilson
>><matthew at mjwilson.demon.co.uk> wrote:
>>
>>>text/xml is fine:
>>>
>>>http://www.mozilla.org/rdf/doc/faq.html
>>>
>>>Section 3: "Make sure your server is delivering the file as text/xml
>>>(recommended) or text/rdf  (bogus)."
>>>
>>>("bogus" here means that it is not a real MIME type.)
>>>
>>>If you want to check that your RDF is being served correctly, download a
>>>Mozilla build (NOT Firefox) - it has two executables, rdfcat and rdfpoll
>>>which you can use to check out how RDF is being read and parsed. Handy
>>>for debugging.
>>>
>>> > rdfpoll http://googlebar.mozdev.org/update.rdf
>>>
>>>assert [urn:mozilla:extension:{6b6601f1-361e-4b9f-bb6d-f8305000e4f6}]
>>>        --[http://www.mozilla.org/2004/em-rdf#version]--
>>>        ->"0.9.0.16"
>>>
>>>assert [urn:mozilla:extension:{6b6601f1-361e-4b9f-bb6d-f8305000e4f6}]
>>>        --[http://www.mozilla.org/2004/em-rdf#updateLink]--
>>>        ->"http://downloads.mozdev.org/googlebar/XPI-firefox.xpi"
>>>
>>> > rdfcat http://googlebar.mozdev.org/update.rdf
>>><?xml version="1.0"?>
>>><RDF:RDF xmlns:em="http://www.mozilla.org/2004/em-rdf#"
>>>          xmlns:NC="http://home.netscape.com/NC-rdf#"
>>>          xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
>>>   <RDF:Description
>>>RDF:about="urn:mozilla:extension:{6b6601f1-361e-4b9f-bb6d-f8305000e4f6}"
>>>                    em:version="0.9.0.16"
>>>    em:updateLink="http://downloads.mozdev.org/googlebar/XPI-firefox.xpi" />
>>></RDF:RDF>
>>>
>>>Matthew
>>>
>>>_______________________________________________
>>>Project_owners mailing list
>>>Project_owners at mozdev.org
>>>http://mozdev.org/mailman/listinfo/project_owners
>>>
>>
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org
> http://mozdev.org/mailman/listinfo/project_owners
> 




More information about the Project_owners mailing list