PlanetUbuntu

Differences between revisions 29 and 34 (spanning 5 versions)
Revision 29 as of 2008-02-20 16:55:40
Size: 3047
Editor: 44-111-231-201
Comment: Changed to use bzr+ssh for super smart-server speed
Revision 34 as of 2008-08-01 23:00:17
Size: 4090
Editor: cpe-76-168-148-250
Comment: Added tag-specific feed info for LiveJournal
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:

== 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.

 * In Blogger: the feed URL for a specific label would be http://xxx.blogspot.com/feeds/posts/default/-/labelname
 * In WordPress: You can provide feeds to only specific categories on your site by adding the following to the end of the feed URL link: '''http://example.com/wp-rss2.php?cat=42''' or '''http://example.com/category/categoryname/feed''' . also see: http://codex.wordpress.org/WordPress_Feeds
 * In Drupal: you can use taxonomies to tag your content and have RSS feeds generated from those taxonomies. See [http://learnbythedrop.com/drop/45 this blog post] under "Taxonomy Generated Feeds" for more information.
 * In LiveJournal: the feed URL for a specific tag would be http://example.livejournal.com/data/rss?tag=foobar

To add your feed to [http://planet.ubuntu.com Planet Ubuntu], you must be an Ubuntu MemberFootNote(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.), 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 [https://launchpad.net/~ubuntumembers Ubuntu Member.] Read more about how the [http://www.ubuntu.com/community/processes/newmember 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 hackergotchiFootNote(Your hackergotchi should be scaled to roughly 100x100 pixels, give or take.) 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.

PlanetUbuntu (last edited 2024-02-20 14:35:36 by merlijn-sebrechts)