#605 FAS2 entry for blog feed
Closed: Fixed None Opened 13 years ago by pfrields.

The requirement for people to generate SSH keys and edit ~/.planet file with a specific syntax is probably too high. I've had three contributor complaints already about it -- it's a perfectly workable solution for people who are conversant with such things, but not good for everyone who blogs (artists, marketeers, etc.).

Can we add a field on the "My Account" entry form that takes a blog feed URL, and have this queried by the Planet as well as the ~/.planet files? I would say, if there's a ~/.planet file, unless it's empty it should supersede the FAS2 field, but that's just an off the cuff suggestion.

Bonus points if you can give the user an uploadable hackergotchi field, with appropriate file size and format restrictions. :-)

Side note about this. I'm generally against it (but only a little bit).

1) who should be able to put their feed up?
2) What should the people who are not allowed to put their blog up see in fas?
3) if its decided we should be providing this because our current system is somehow faulty, it needs to go into a plugin. not the FAS main code.

Worth noting this IRC snippet too:

<skvidal> we end up with someone who wants to mess with the planet having to do: make an account, add a feed and walk away
<mmcgrath> the stance we've taken right now is that, in order to be on planet, you have to be a contributor.
<dgilmore> stickster: FWIW im with skvidal on this
<mmcgrath> and our 'technical' definition of a contributor is someone who's signed the CLA and is in at least one group.

Perhaps we should just have a very simple web-based .planet editor. Is there any feasible way of getting partial read/write access to ~?

I don't think the requirement is too high, this is hat I created a small screencast showing how one can create his own .planet file: http://howto.nicubunu.ro/video/planet_fedora.ogg

This sounds doable to me:

  • Add corresponding fields in the database (3 fields: rss url, name, face)
  • Check if the user is in more than one group
  • If so display the section in the template
  • Fix the validation of the form

I tested the patch locally, it seemed to do what we want.

To be complete, we should add a method which generates/returns the configuration file for the planet (planet.ini or so).

Per the discussion on the legal list we should add these things to the privacy policy if we add this. ;)

If I made it correctly, that's what the patch does at the moment :)

The new patch provides a /accounts/planet which return in text the planet configuration file as planetplanet uses.

This doesn't seem to apply cleanly anymore.


|diff --git a/fas/user.py b/fas/user.py
|index bc9d7da..b036ba1 100644
|--- a/fas/user.py
|+++ b/fas/user.py

File to patch: fas/user.py
patching file fas/user.py
Hunk #1 succeeded at 76 (offset 2 lines).
Hunk #2 succeeded at 259 (offset 29 lines).
Hunk #3 succeeded at 289 with fuzz 1 (offset 29 lines).
Hunk #4 succeeded at 302 (offset 8 lines).
Hunk #5 succeeded at 321 (offset 8 lines).
Hunk #6 succeeded at 332 (offset 8 lines).
Hunk #7 FAILED at 397.
Hunk #8 succeeded at 434 (offset 10 lines).
Hunk #9 FAILED at 442.

Has there been any progress on this since?

I think the only thing this is waiting on is what we want to do about fancyflash.

Hm, in the patch here, can we drop the blog_avatar field and just use libravatar?

Replying to [comment:14 ralph]:

Hm, in the patch here, can we drop the blog_avatar field and just use libravatar?

I would think that would be just fine.

One other thing I'm not sure has been addressed: currently people can add multiple feeds to their .planet file (other feeds they think are of interest to the fedora community). This setup they can only have one feed?

So, where are we here? :) What is the current status and plan forward?

I guess we could drop this for FAS2 and put it on the roadmap for FAS3

Yeah, I think we should move this to fas3 and worry about adjusting things after fas3 lands. ;)

I see fas3 already has a entry for blog_rss. We just need to get the planet to use that (after fas3 lands and after we tell people to populate it).

I'm closing this upstream.

Login to comment on this ticket.