Planet.wikimedia.org
From Wikitech
(Difference between revisions)
| Line 2: | Line 2: | ||
An RSS feed aggregator. See [[meta:Planet_Wikimedia]] for details. | An RSS feed aggregator. See [[meta:Planet_Wikimedia]] for details. | ||
| + | |||
| + | == How do i access it? == | ||
| + | |||
| + | http://en.planet.wikimedia.org/ and several other languages, *.planet.wikimedia.org. | ||
== New planet (planet-venus) == | == New planet (planet-venus) == | ||
| Line 7: | Line 11: | ||
On Jan,23rd 2013 we switched from the [http://wikitech.wikimedia.org/index.php?title=Planet.wikimedia.org&oldid=25640 old planet] (http://www.planetplanet.org/) to | On Jan,23rd 2013 we switched from the [http://wikitech.wikimedia.org/index.php?title=Planet.wikimedia.org&oldid=25640 old planet] (http://www.planetplanet.org/) to | ||
the new planet-venus (http://www.intertwingly.net/code/venus/) | the new planet-venus (http://www.intertwingly.net/code/venus/) | ||
| + | |||
| + | === What's better about the new planet? === | ||
| + | #It's packaged in Ubuntu. ([http://packages.ubuntu.com/km/lucid/python/planet-venus planet-venus]), the old planet was not packaged. | ||
| + | #It's fully [https://gerrit.wikimedia.org/r/#/q/project:operations/puppet+topic:planet+status:merged,n,z puppetized], the old planet was all manual. | ||
| + | #It uses [[git]]. People adding feed URLs can just send [[Gerrit]] patchsets. The old planet used SVN. | ||
| + | #It's a complete rewrite of the old code in Python. It uses more modern technology like html5lib, Atom, XSLT and templates. | ||
| + | #.. | ||
| + | == What may not be better about the new planet (yet)? == | ||
| + | #The "gmq" planet, which is a combo of Scandinavian languages does not have separate index pages in each language yet. | ||
| + | #Some CSS/layout/design issues, like localized logo in Arabic or right-to-left alignment of thumbnails. (Arabic does already use a separate CSS file though and has the sidebar on the right hand side) | ||
| + | #It does not include iframes (this might be considered a good thing though) | ||
| + | |||
| + | == Where should i report issues? == | ||
| + | On Bugzilla. | ||
| + | |||
| + | == Where does it run? == | ||
| + | On [[zirconium]] in [[eqiad]]. The old planet was on [[singer]]. | ||
| + | |||
| + | == Where's the code? == | ||
| + | In git, in the operations/puppet repo: | ||
| + | #./manifests/role/planet.pp | ||
| + | #./manifests/misc/planet.pp | ||
| + | |||
| + | and | ||
| + | |||
| + | #git clone https://github.com/rubys/venus.git | ||
| + | == How do i add/remove feed URLs? == | ||
| + | #[https://labsconsole.wikimedia.org/wiki/Git#Git.2FGerrit_and_the_repositories Clone] the operations/puppet git repository. | ||
| + | #go to ./puppet/templates/planet/ and edit one of the <language>_config.erb files | ||
| + | #submit to gerrit and have somebody merge it | ||
| + | |||
| + | == How do i change HTML of the index pages? == | ||
| + | #see above, edit ./puppet/templates/planet/index.html.tmpl.erb | ||
| + | |||
| + | == How do i add/change translations in the index pages or add a new language? == | ||
| + | #see above, edit ./puppet/manifests/role/planet.pp (find $planet_languages=...) | ||
| + | |||
| + | == How do i request changes if i can't or don't want to submit a change set myself? == | ||
| + | Ask on [[meta:Planet_Wikimedia#Requests_for_Update_or_Removal]] | ||
| + | |||
| + | == Are there more general docs on planet-venus and it's architecture? == | ||
| + | Sure, see [http://www.intertwingly.net/code/venus/docs/index.html docs] and [http://www.intertwingly.net/code/venus/docs/venus.svg venus.svg]. | ||
[[Category:Services]] | [[Category:Services]] | ||
Revision as of 22:30, 24 January 2013
What is planet?
An RSS feed aggregator. See meta:Planet_Wikimedia for details.
How do i access it?
http://en.planet.wikimedia.org/ and several other languages, *.planet.wikimedia.org.
New planet (planet-venus)
On Jan,23rd 2013 we switched from the old planet (http://www.planetplanet.org/) to the new planet-venus (http://www.intertwingly.net/code/venus/)
What's better about the new planet?
- It's packaged in Ubuntu. (planet-venus), the old planet was not packaged.
- It's fully puppetized, the old planet was all manual.
- It uses git. People adding feed URLs can just send Gerrit patchsets. The old planet used SVN.
- It's a complete rewrite of the old code in Python. It uses more modern technology like html5lib, Atom, XSLT and templates.
- ..
What may not be better about the new planet (yet)?
- The "gmq" planet, which is a combo of Scandinavian languages does not have separate index pages in each language yet.
- Some CSS/layout/design issues, like localized logo in Arabic or right-to-left alignment of thumbnails. (Arabic does already use a separate CSS file though and has the sidebar on the right hand side)
- It does not include iframes (this might be considered a good thing though)
Where should i report issues?
On Bugzilla.
Where does it run?
On zirconium in eqiad. The old planet was on singer.
Where's the code?
In git, in the operations/puppet repo:
- ./manifests/role/planet.pp
- ./manifests/misc/planet.pp
and
- git clone https://github.com/rubys/venus.git
How do i add/remove feed URLs?
- Clone the operations/puppet git repository.
- go to ./puppet/templates/planet/ and edit one of the <language>_config.erb files
- submit to gerrit and have somebody merge it
How do i change HTML of the index pages?
- see above, edit ./puppet/templates/planet/index.html.tmpl.erb
How do i add/change translations in the index pages or add a new language?
- see above, edit ./puppet/manifests/role/planet.pp (find $planet_languages=...)
How do i request changes if i can't or don't want to submit a change set myself?
Ask on meta:Planet_Wikimedia#Requests_for_Update_or_Removal