We now have a public and cached Parsoid API available at http://parsoid-lb.eqiad.wikimedia.org/
It implements this interface: https://www.mediawiki.org/wiki/Parsoid#The_Parsoid_web_API http://www.mediawiki.org/wiki/Parsoid/MediaWiki_DOM_spec
GET requests are normally expected to pass the oldid parameter: http://parsoid-lb.eqiad.wikimedia.org/enwiki/Main_Page?oldid=574690625
Current revisions of pages will very likely be in cache (they are pre-parsed after each edit), so you can retrieve those without causing extra load on the Parsoid cluster.
This API is expected to be followed by a full content API by early next year. This API will expose the same functionality and HTML+RDFa, so consumers will only need small changes to switch to the new content API then.
Gabriel
I get an "unable to connect" error there...
On Tue, Nov 19, 2013 at 11:06 PM, Gabriel Wicke gwicke@wikimedia.orgwrote:
We now have a public and cached Parsoid API available at http://parsoid-lb.eqiad.wikimedia.org/
It implements this interface: https://www.mediawiki.org/wiki/Parsoid#The_Parsoid_web_API http://www.mediawiki.org/wiki/Parsoid/MediaWiki_DOM_spec
GET requests are normally expected to pass the oldid parameter: http://parsoid-lb.eqiad.wikimedia.org/enwiki/Main_Page?oldid=574690625
Current revisions of pages will very likely be in cache (they are pre-parsed after each edit), so you can retrieve those without causing extra load on the Parsoid cluster.
This API is expected to be followed by a full content API by early next year. This API will expose the same functionality and HTML+RDFa, so consumers will only need small changes to switch to the new content API then.
Gabriel
Wikitext-l mailing list Wikitext-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitext-l
On 11/19/2013 03:18 PM, Magnus Manske wrote:
I get an "unable to connect" error there...
Interesting, it works from here. Can you try http://208.80.154.248/ to force IPv4?
Gabriel
On Tue, Nov 19, 2013 at 11:31 PM, Gabriel Wicke gwicke@wikimedia.org wrote:
On 11/19/2013 03:18 PM, Magnus Manske wrote:
I get an "unable to connect" error there...
Interesting, it works from here. Can you try http://208.80.154.248/ to force IPv4?
If you have HTTPS everywhere installed then that's probably at fault.
btw, don't expect this parsoid-lb.eqiad.wikimedia.org hostname to work forever. (definitely don't hardcode it anywhere yet) Going to submit a patch for new hostname shortly.
-Jeremy
Yes, HTTPS everywhere it was. Thanks, IP works as well.
On Tue, Nov 19, 2013 at 11:38 PM, Jeremy Baron jeremy@tuxmachine.comwrote:
On Tue, Nov 19, 2013 at 11:31 PM, Gabriel Wicke gwicke@wikimedia.org wrote:
On 11/19/2013 03:18 PM, Magnus Manske wrote:
I get an "unable to connect" error there...
Interesting, it works from here. Can you try http://208.80.154.248/ to force IPv4?
If you have HTTPS everywhere installed then that's probably at fault.
btw, don't expect this parsoid-lb.eqiad.wikimedia.org hostname to work forever. (definitely don't hardcode it anywhere yet) Going to submit a patch for new hostname shortly.
-Jeremy
Wikitext-l mailing list Wikitext-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitext-l
wikitext-l@lists.wikimedia.org