WiseSabre | 1 Aug 05:19 2006
Picon

a simple question remains unanswered :|

hi,
 
there a simple question remains unanswered :|
 
I downloaded planetplanet adn compiled it according to the instructions. and It worked
 
but I couldnt understand
1. what should I upload to server? ( dnt have right now but soon..:)) 
2. do I need to to run planet.py every time I want to update ? or plant.py is only once executed?
 
 
please answer me even you think u dnt even have clue what planetplanet is :D

there is no help around the web about plant?
--

-- 
devel mailing list
devel <at> lists.planetplanet.org
http://lists.planetplanet.org/mailman/listinfo/devel
Timothy White | 1 Aug 05:34 2006
Picon

Re: a simple question remains unanswered :|

On 8/1/06, WiseSabre <wisesabre <at> gmail.com> wrote:
>
> hi,
>
> there a simple question remains unanswered :|
>
> I downloaded planetplanet adn compiled it according to the instructions. and
> It worked
>
> but I couldnt understand
> 1. what should I upload to server? ( dnt have right now but soon..:))

>From memory, the whole thing. But not in the web root, it should be
outside of the www root, and the config should be set to create a page
inside the webroot.

> 2. do I need to to run planet.py every time I want to update ? or plant.py
> is only once executed?

Once again, from memory, it needs to be run for each update. So a
crontab entry to run it once every 1-2 hours for example.

>
>
> please answer me even you think u dnt even have clue what planetplanet is :D

Done ;-)

>
> there is no help around the web about plant?

There is plenty, or was a year ago when I was using it. And of course,
this rather quiet mailing list ;-)

Tim
-- 
Linux Counter user #273956
Don't email joeblogs <at> scouts.org.au
--

-- 
devel mailing list
devel <at> lists.planetplanet.org
http://lists.planetplanet.org/mailman/listinfo/devel

Gunnar Wagenknecht | 2 Aug 14:54 2006

XML Entities in feeds

Hi!

How do you guys handle XML entities? Our planet feed breaks occasionally
because someone used an entity in their titles.

Example:

line xxx: <title>Someone: 45&deg;C and freezing</title>
Error on line xxx: The entity "deg" was referenced, but not declared.

Cu, Gunnar

-- 
Gunnar Wagenknecht
gunnar <at> wagenknecht.org
http://wagenknecht.org/

--

-- 
devel mailing list
devel <at> lists.planetplanet.org
http://lists.planetplanet.org/mailman/listinfo/devel

Baz | 2 Aug 15:12 2006
Picon

Re: XML Entities in feeds

That entity is only legal in html, not xml - unless you've declared it
in your xml? You might want to check that the xml is actually
well-formed.

On 8/2/06, Gunnar Wagenknecht <gunnar <at> wagenknecht.org> wrote:
> Hi!
>
> How do you guys handle XML entities? Our planet feed breaks occasionally
> because someone used an entity in their titles.
>
> Example:
>
> line xxx: <title>Someone: 45&deg;C and freezing</title>
> Error on line xxx: The entity "deg" was referenced, but not declared.
>
> Cu, Gunnar
>
> --
> Gunnar Wagenknecht
> gunnar <at> wagenknecht.org
> http://wagenknecht.org/
>
> --
> devel mailing list
> devel <at> lists.planetplanet.org
> http://lists.planetplanet.org/mailman/listinfo/devel
>
--

-- 
devel mailing list
devel <at> lists.planetplanet.org
http://lists.planetplanet.org/mailman/listinfo/devel

Gunnar Wagenknecht | 2 Aug 15:22 2006

Re: XML Entities in feeds

Baz wrote:
> That entity is only legal in html, not xml - unless you've declared it
> in your xml? You might want to check that the xml is actually
> well-formed.

Yes, well I know that is not legal in XML. So how do we get rid of them?
We have plenty of "broken" feeds (eg. mostly all from Blogger.com).
Dropping the broken feeds is not an option. We would loose at least half
of our aggregated blogs.

Should we wrap everything into CDATA? Should Planet tidy up the feeds?

Cu, Gunnar

-- 
Gunnar Wagenknecht
gunnar <at> wagenknecht.org
http://wagenknecht.org/

--

-- 
devel mailing list
devel <at> lists.planetplanet.org
http://lists.planetplanet.org/mailman/listinfo/devel

Sam Ruby | 2 Aug 15:33 2006
Picon

Re: XML Entities in feeds

Gunnar Wagenknecht wrote:
> Hi!
> 
> How do you guys handle XML entities? Our planet feed breaks occasionally
> because someone used an entity in their titles.
> 
> Example:
> 
> line xxx: <title>Someone: 45&deg;C and freezing</title>
> Error on line xxx: The entity "deg" was referenced, but not declared.

What version of planet are you running?  What did the input feed look 
like?  If this is a problem with the feed that you produce, what does 
the template look like?

With Planet 2.0, feeds that contain titles like the above will 
internally flip the bozo bit, but will be parsed correctly anyway (the 
&deg; will get replaced with the U+00B0 character, and then encoded as 
utf-8 in the output).

If you are trying to produce a valid feeds, make sure that your template 
makes the example provided with Planet 2.0.  For Atom:

<title type="html"<TMPL_IF title_language> xml:lang="<TMPL_VAR 
title_language>"</TMPL_IF>><TMPL_VAR title ESCAPE="HTML"></title>

For RSS 2.0:

<title><TMPL_VAR channel_name ESCAPE="HTML"><TMPL_IF title>: <TMPL_VAR 
title_plain ESCAPE="HTML"></TMPL_IF></title>

- Sam Ruby
--

-- 
devel mailing list
devel <at> lists.planetplanet.org
http://lists.planetplanet.org/mailman/listinfo/devel

Bjarke Sørensen | 6 Aug 10:52 2006
Picon

Re: a simple question remains unanswered :|


> there a simple question remains unanswered :| 
>  
> I downloaded planetplanet adn compiled it according to the
> instructions. and It worked

Great..

>  
> but I couldnt understand
> 1. what should I upload to server? ( dnt have right now but soon..:)) 

The output-files that 'planetplanet' produces each time you execute it.

> 2. do I need to to run planet.py every time I want to update ? or
> plant.py is only once executed?

Everytime you want to update.
I would be better if you have access to some scheduling, like cron, on
the webserver so updates could be done automatically.

> there is no help around the web about plant?

Really? I think I read how to use it somewhere. Maybe in the
README-files - I'm not sure though.

-- 
Bjarke Sørensen
Orangenose

--

-- 
devel mailing list
devel <at> lists.planetplanet.org
http://lists.planetplanet.org/mailman/listinfo/devel

Jonas Zetterberg | 6 Aug 18:08 2006
Picon

My own personal Planet.

Hi.

Just installed your stable planet and the last instruction told me to 
tell you about it, so here goes.

http://jozz.se/planet.php

It's in Swedish and just for fun. Link to me if you want.

Oh.. And thanks and thank you for Planet! :)

//Jonas Zetterberg
--

-- 
devel mailing list
devel <at> lists.planetplanet.org
http://lists.planetplanet.org/mailman/listinfo/devel

[KS] | 11 Aug 02:36 2006

index.html.tmpl as feed?

Hi all,
I installed planetplanet nightly last night and was able to set it up
and fight a couple of configuration errors without much difficulty. All
seems to be working fine except 1 error in the logs. The error comes up
in the log just after it checks the feeds and the error line says:

ERROR:planet:Error 500 while updating feed <index.html.tmpl>

Why is it trying to update the index.html.tmpl considering that it is a
feed? This error also shows in the generated html in the list of the
subscriptions as a nameless subscription as show below:

<li>
<a href="index.html.tmpl" title="subscribe"><img
src="./images/feed-icon-10x10.png" alt="(feed)"></a> <a class="message"
title="internal server error"></a>
</li>

Any hints to where I should look for the mistake? It has to do with some
configuration setting as it wasn't there two weeks ago in the test install.

thanks,
/kds
PS: Please delete the other email sent before subscribing to the list
--

-- 
devel mailing list
devel <at> lists.planetplanet.org
http://lists.planetplanet.org/mailman/listinfo/devel

Mary Gardiner | 11 Aug 02:43 2006

Re: index.html.tmpl as feed?

On Thu, Aug 10, 2006, [KS] wrote:
> Any hints to where I should look for the mistake? It has to do with some
> configuration setting as it wasn't there two weeks ago in the test install.

Search for occurances of index.html.tmpl in your config.ini file. If
there is any other occurance than one like:

template_files = /somedir/index.html.tmpl

then that would be the problem.

-Mary
--

-- 
devel mailing list
devel <at> lists.planetplanet.org
http://lists.planetplanet.org/mailman/listinfo/devel


Gmane