PlanetUbuntu

Differences between revisions 38 and 39
Revision 38 as of 2008-12-29 15:33:27
Size: 5048
Editor: 124
Comment: added note for WordPress 2.7 users with Permalink's set to Default
Revision 39 as of 2009-01-20 06:20:27
Size: 4954
Editor: bl8-217-95
Comment:
Deletions are marked like this. Additions are marked like this.
Line 14: Line 14:
  * '''Word``Press.com users:''' RSS2 feeds, for whatever reason, will not display the full content of each post on the Planet. Instead, use your blog's Atom feed, which can be located by appending '''/atom/''' to your RSS location. For example: '''http://username.wordpress.com/feed''' would have an Atom feed at '''http://username.wordpress.com/feed/atom'''   * '''Word``Press.com users:''' RSS2 feeds have a small problem, so you need to use your Atom feed ('''http://username.wordpress.com/feed/atom''') or add '''?mrss=off''' to the end of the RSS2 feed. Example '''http://blog.site.com/category/ubuntu/feed/?mrss=off'''

To add your feed to Planet Ubuntu, you must be an Ubuntu Member1, and your ssh key must be included in your Launchpad account information.

Subscribed feeds ought to be at least occasionally relevant to Ubuntu, although the only hard and fast rule is "don't annoy people."

Separating content

You may want to tag or label individual posts or categorize only some posts to be aggregated in Ubuntu Planet. Different blogging software have different ways of providing feeds that will only aggregate posts you mark or tag under an "ubuntu-planet" category, for example.

Adding Your Feed

You first need to add an SSH public key to your launchpad account, if you haven't done so already. If your launchpad username is yourusername, then you would go to:

https://launchpad.net/~yourusername/+editsshkeys

Then to add your feed, first install the "bzr" and "paramiko" packages if you haven't done so already:

$sudo apt-get install bzr python-paramiko

Next, check out the configuration files from the launchpad bzr tree.

$ bzr checkout bzr+ssh://yourusername@bazaar.launchpad.net/~planet-ubuntu/config/main planet-ubuntu
$ cd planet-ubuntu/

Warning /!\ If you don't have the host key for bazaar.launchpad.net, initial checkout will ask you to authenticate. The RSA key fingerprint for this host is: 9d:38:3a:63:b1:d5:6f:c4:44:67:53:49:2e:ee:fc:89

Warning /!\ If this checkout fails with a "No branch found" message, it is likely that you are not listed as an Ubuntu Member. Read more about how the new member process works. If the checkout fails with a Permission denied error, it is likely that your SSH key isn't in Launchpad, or that you have your username wrong.

Next, place your hackergotchi2 into the heads/ subdirectory:

$ cp ~/hackergotchi.png heads/yourusername.png
$ bzr add heads/yourusername.png

If you don't have a hackergotchi to add right away, comment out the line (using # at the beginning) or leave the entire line out.

Once you've done that, add a stanza like the following to the end of the config.ini file:

[http://blog.example.com/~yourusername/feed?category=ubuntu-only]
name = Your Name Here
face = yourusername.png
nick = yourusername

Warning /!\ Please use your real name at least somewhere in the 'name' field.

When you are satisfied that your entry is correct, it's time to check in your changes:

$ bzr commit -m "Added yourusername to Planet Ubuntu"

Warning /!\ Please note that Planet runs from cron, and it relies on the work of some periodic events on the Launchpad server. Your changes could take up to two hours to take effect.

Conditions

We reserve the right to remove any feed that is inaccessible, flooding the page, or otherwise interfering with the operation of the Planet. We also have the right to move clearly offensive content or content that could trigger legal action.

  1. You must either be one of the [https://launchpad.net/~ubuntumembers Ubuntu Members], or be in one of its member teams. See http://www.ubuntu.com/community/processes/newmember for details. (1)

  2. Your hackergotchi should be scaled to roughly 100x100 pixels, give or take. (2)

PlanetUbuntu (last edited 2021-05-27 06:32:12 by fitojb)