You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Sachin <sa...@techblue.co.uk> on 2010/09/24 12:50:40 UTC

Importing external RSS feeds - New module

Hi All

I am using Lenya 2.0.3. In new module when I try to access external rss 
feed it says connection timed out.

Am I missing something here?

Please suggest.

Regards
Sachin

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: Importing external RSS feeds - News module

Posted by florent andré <fl...@4sengines.com>.
Hi Sachin,

Witch url you try ? Can you send all the error stack trace ? (seem more 
to be a i18n problem than timeout one)

I just have a try with 
http://www.lequipe.fr/Xml/Football/Titres/actu_rss.xml and I have no 
error... but no answer though.

A little investigation give me that :
- in fact news module don't call feed module when an rss in put in news 
document

- feed module is not able to parse RSS (just atom), and atom have to be 
well formed for a good render.

For having a good atom/rss feed module, we have to use a specific parser 
like apache feedparser ( http://commons.apache.org/dormant/feedparser/ ).
As it's dormant, we have to try how we can use-it.

So, retrieve RSS with news modules don't seems not to be a piece of cake 
for now...

I'm interested in this. But not have too much time now. If you dive on, 
can give you an hand.

++



On 09/24/2010 02:03 PM, Sachin wrote:
> Hi Florent
>
> Thanks for the reply.
>
> Its just that:
>
> I created a news page. Go to new setting. Choose " External source"
> option. Put some google feed url into it and when I click save it says:
>
> Connection timed outorg.apache.cocoon.ProcessingException: Failed to
> process pipeline
> at<map:serialize type="xml"> -
> file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/modules/news/sitemap.xmap:73:36
>
> at<map:transform> -
> file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/modules/news/sitemap.xmap:72:75
>
> at<map:transform> -
> file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/modules/news/sitemap.xmap:71:78
>
> at<map:transform type="include"> -
> file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/modules/news/sitemap.xmap:70:40
>
> at<map:transform> -
> file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/modules/news/sitemap.xmap:65:84
>
> at<map:transform type="metaData"> -
> file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/modules/news/sitemap.xmap:61:40
>
> at<map:transform> -
> file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/modules/news/sitemap.xmap:60:86
>
> at<map:transform type="include"> -
> file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/modules/news/sitemap.xmap:59:40
>
> at<map:transform> -
> file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/modules/news/sitemap.xmap:52:90
>
> at<map:generate> -
> file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/modules/news/sitemap.xmap:51:75
>
> at<map:serialize type="xml"> -
> file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/modules/news/sitemap.xmap:122:36
>
> at<map:transform> -
> file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/modules/news/sitemap.xmap:121:71
>
> at<map:transform type="i18n"> -
> file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/modules/news/sitemap.xmap:118:36
>
> at<map:transform type="metaData"> -
> file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/modules/news/sitemap.xmap:106:40
>
> at<map:transform> -
> file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/modules/news/sitemap.xmap:98:84
>
> at<map:generate> -
> file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/modules/news/sitemap.xmap:97:75
>
> at<map:serialize type="xml"> -
> file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/modules/news/sitemap.xmap:45:36
>
> at<map:generate> -
> file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/modules/news/sitemap.xmap:44:162
>
> at<map:serialize type="xml"> -
> file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/pubs/default/sitemap.xmap:93:38
>
> at<map:generate> -
> file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/pubs/default/sitemap.xmap:92:79
>
> at<map:serialize type="xml"> -
> file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/pubs/default/sitemap.xmap:123:36
>
> at<map:serialize type="xml"> -
> file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/pubs/default/sitemap.xmap:196:36
>
> at<map:transform type="uuid2url"> -
> file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/pubs/default/sitemap.xmap:195:41
>
> at<map:transform type="metaData"> -
> file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/pubs/default/sitemap.xmap:191:40
>
> at<map:transform type="i18n"> -
> file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/pubs/default/sitemap.xmap:173:36
>
> at<map:transform> -
> file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/pubs/default/sitemap.xmap:159:57
>
> at<map:transform> -
> file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/pubs/default/sitemap.xmap:158:79
>
> at<map:generate> -
> file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/pubs/default/sitemap.xmap:157:130
>
> at<map:serialize type="xhtml"> -
> file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/pubs/default/sitemap.xmap:325:40
>
> at<map:transform type="proxy"> -
> file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/pubs/default/sitemap.xmap:322:38
>
> at<map:transform> -
> file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/pubs/default/sitemap.xmap:319:92
>
> at<map:transform> -
> file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/pubs/default/sitemap.xmap:291:79
>
> at<map:transform> -
> file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/pubs/default/sitemap.xmap:274:98
>
>
> HTH
>
> Regards
> Sachin
>
> On Friday 24 September 2010 05:24 PM, florent andré wrote:
>> Any piece of code sachin ?
>>
>> ++
>>
>> On 09/24/2010 12:53 PM, Sachin wrote:
>>> its news module and not 'new' module.
>>>
>>> Sorry for mistake.
>>>
>>> Regards
>>> Sachin
>>>
>>> On Friday 24 September 2010 04:20 PM, Sachin wrote:
>>>> Hi All
>>>>
>>>> I am using Lenya 2.0.3. In new module when I try to access external
>>>> rss feed it says connection timed out.
>>>>
>>>> Am I missing something here?
>>>>
>>>> Please suggest.
>>>>
>>>> Regards
>>>> Sachin
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: user-help@lenya.apache.org
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: Importing external RSS feeds - News module

Posted by Sachin <sa...@techblue.co.uk>.
Hi Florent

Thanks for the reply.

Its just that:

I created a news page. Go to new setting. Choose " External source" 
option. Put some google feed url into it and when I click save it says:

Connection timed outorg.apache.cocoon.ProcessingException: Failed to process pipeline
	at<map:serialize type="xml">  - file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/modules/news/sitemap.xmap:73:36
	at<map:transform>  - file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/modules/news/sitemap.xmap:72:75
	at<map:transform>  - file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/modules/news/sitemap.xmap:71:78
	at<map:transform type="include">  - file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/modules/news/sitemap.xmap:70:40
	at<map:transform>  - file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/modules/news/sitemap.xmap:65:84
	at<map:transform type="metaData">  - file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/modules/news/sitemap.xmap:61:40
	at<map:transform>  - file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/modules/news/sitemap.xmap:60:86
	at<map:transform type="include">  - file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/modules/news/sitemap.xmap:59:40
	at<map:transform>  - file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/modules/news/sitemap.xmap:52:90
	at<map:generate>  - file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/modules/news/sitemap.xmap:51:75
	at<map:serialize type="xml">  - file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/modules/news/sitemap.xmap:122:36
	at<map:transform>  - file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/modules/news/sitemap.xmap:121:71
	at<map:transform type="i18n">  - file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/modules/news/sitemap.xmap:118:36
	at<map:transform type="metaData">  - file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/modules/news/sitemap.xmap:106:40
	at<map:transform>  - file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/modules/news/sitemap.xmap:98:84
	at<map:generate>  - file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/modules/news/sitemap.xmap:97:75
	at<map:serialize type="xml">  - file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/modules/news/sitemap.xmap:45:36
	at<map:generate>  - file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/modules/news/sitemap.xmap:44:162
	at<map:serialize type="xml">  - file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/pubs/default/sitemap.xmap:93:38
	at<map:generate>  - file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/pubs/default/sitemap.xmap:92:79
	at<map:serialize type="xml">  - file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/pubs/default/sitemap.xmap:123:36
	at<map:serialize type="xml">  - file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/pubs/default/sitemap.xmap:196:36
	at<map:transform type="uuid2url">  - file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/pubs/default/sitemap.xmap:195:41
	at<map:transform type="metaData">  - file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/pubs/default/sitemap.xmap:191:40
	at<map:transform type="i18n">  - file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/pubs/default/sitemap.xmap:173:36
	at<map:transform>  - file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/pubs/default/sitemap.xmap:159:57
	at<map:transform>  - file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/pubs/default/sitemap.xmap:158:79
	at<map:generate>  - file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/pubs/default/sitemap.xmap:157:130
	at<map:serialize type="xhtml">  - file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/pubs/default/sitemap.xmap:325:40
	at<map:transform type="proxy">  - file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/pubs/default/sitemap.xmap:322:38
	at<map:transform>  - file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/pubs/default/sitemap.xmap:319:92
	at<map:transform>  - file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/pubs/default/sitemap.xmap:291:79
	at<map:transform>  - file:///home/sachin/workspace/apache-lenya-2.0.3-src/build/lenya/webapp/lenya/pubs/default/sitemap.xmap:274:98

HTH

Regards
Sachin

On Friday 24 September 2010 05:24 PM, florent andré wrote:
> Any piece of code sachin ?
>
> ++
>
> On 09/24/2010 12:53 PM, Sachin wrote:
>> its news module and not 'new' module.
>>
>> Sorry for mistake.
>>
>> Regards
>> Sachin
>>
>> On Friday 24 September 2010 04:20 PM, Sachin wrote:
>>> Hi All
>>>
>>> I am using Lenya 2.0.3. In new module when I try to access external
>>> rss feed it says connection timed out.
>>>
>>> Am I missing something here?
>>>
>>> Please suggest.
>>>
>>> Regards
>>> Sachin
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: user-help@lenya.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: Importing external RSS feeds - News module

Posted by florent andré <fl...@4sengines.com>.
Any piece of code sachin ?

++

On 09/24/2010 12:53 PM, Sachin wrote:
> its news module and not 'new' module.
>
> Sorry for mistake.
>
> Regards
> Sachin
>
> On Friday 24 September 2010 04:20 PM, Sachin wrote:
>> Hi All
>>
>> I am using Lenya 2.0.3. In new module when I try to access external
>> rss feed it says connection timed out.
>>
>> Am I missing something here?
>>
>> Please suggest.
>>
>> Regards
>> Sachin
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: user-help@lenya.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: Importing external RSS feeds - News module

Posted by Sachin <sa...@techblue.co.uk>.
its news module and not 'new' module.

Sorry for mistake.

Regards
Sachin

On Friday 24 September 2010 04:20 PM, Sachin wrote:
> Hi All
>
> I am using Lenya 2.0.3. In new module when I try to access external 
> rss feed it says connection timed out.
>
> Am I missing something here?
>
> Please suggest.
>
> Regards
> Sachin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org