List Info

Thread: Add an atom:subtitle to planet (Venus) feed?




Add an atom:subtitle to planet (Venus) feed?
country flaguser name
Japan
2007-05-29 13:26:07
I just got started with Venus yesterday and have several
planets
set up. But I note that the Atom feed that Venus generates
for
planets lacks a atom:subtitle. Before I start monkeying
around
with to the code to add it, I wanted to ask if anybody else
may
have already customized Venus to add atom:subtitle.

If not, some pointers on specifically where/what to start
hacking
would be appreciated. Based on taking a quick look, it seems
that
along with adding a new configuration parameter, the places
I need
to touch are:

  - __init__() in planet/config.py
  - template_info() in planet/shell/tmpl.py
  - splice() in planet/splice.py

But I've not actually gotten to that point of trying it any
changes yet.

  --Mike

-- 
Michael(tm) Smith
http://people.w3.org/mike/

http://sideshowbarker.net/


-- 
devel mailing list
devellists.planetplanet.org

http://lists.planetplanet.org/mailman/listinfo/devel

Re: Add an atom:subtitle to planet (Venus) feed?
country flaguser name
United States
2007-05-29 14:23:40
Michael(tm) Smith wrote:
> I just got started with Venus yesterday and have
several planets
> set up. But I note that the Atom feed that Venus
generates for
> planets lacks a atom:subtitle. Before I start monkeying
around
> with to the code to add it, I wanted to ask if anybody
else may
> have already customized Venus to add atom:subtitle.
> 
> If not, some pointers on specifically where/what to
start hacking
> would be appreciated. Based on taking a quick look, it
seems that
> along with adding a new configuration parameter, the
places I need
> to touch are:
> 
>   - __init__() in planet/config.py
>   - template_info() in planet/shell/tmpl.py
>   - splice() in planet/splice.py
> 
> But I've not actually gotten to that point of trying it
any
> changes yet.

Sounds about right.  Don't forget docs and tests:

http://www.intertwingly.net/code/venus/docs/contrib
uting.html

- Sam Ruby
-- 
devel mailing list
devellists.planetplanet.org

http://lists.planetplanet.org/mailman/listinfo/devel

Re: Add an atom:subtitle to planet (Venus) feed?
country flaguser name
Japan
2007-05-30 04:29:54
Sam Ruby <rubysintertwingly.net>, 2007-05-29 15:23
-0400:

> Michael(tm) Smith wrote:
>> I wanted to ask if anybody else may have already
customized
>> Venus to add atom:subtitle.
>> Based on taking a quick look, it seems that along
with adding a
>> new configuration parameter, the places I need to
touch are:
>>   - __init__() in planet/config.py
>>   - template_info() in planet/shell/tmpl.py
>>   - splice() in planet/splice.py
>
> Sounds about right.  Don't forget docs and tests:
>
> http://www.intertwingly.net/code/venus/docs/contrib
uting.html

OK, I got the subtitle support added after some minimal
tinkering.
Will write up doc and tests for it and submit it as a
patch.

  --Mike

-- 
devel mailing list
devellists.planetplanet.org

http://lists.planetplanet.org/mailman/listinfo/devel

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )