RSS error

Asked by Rodrigo Luques

Hi Guys!

I'm trying to get the content from this link (http://www1.caixa.gov.br/rss/asp/geraXML_rss_loterias.asp?canal=MEGASENA&titulo=Mega-Sena) in ticker module, but is not working... Any idea what's happening?

Thanks

Question information

Language:
English Edit question
Status:
Answered
For:
Xibo Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Dan Garner (dangarner) said :
#1

The server is returning a 302 error (file moved) when accessed outside a browser (i.e. programatically)

You can see this happening here: http://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Fwww1.caixa.gov.br%2Frss%2Fasp%2FgeraXML_rss_loterias.asp%3Fcanal%3DMEGASENA%26titulo%3DMega-Sena

Revision history for this message
Rodrigo Luques (rluques) said :
#2

Ok! Thanks for reply.

I have another question, may you can help me.
Can I add custom tags in my RSS feed?

I have this Feed here: http://www3.uol.com.br/xml/midiaindoor/celebridades.xml with diferents tag that I want to use in my Ticker. They have custom tags like "linkfoto" and "creditfoto" that i d'like to use.

If it is not possible now, what do you think in put it in another version of Xibo?

Sorry for my poor english.

Regards!

Revision history for this message
Dan Garner (dangarner) said :
#3

Linkfoto and Creditfoto aren't in the RSS specification and unfortunately the feed doesn't provide a namespace for them and I can't find on to reference on-line.

You could try and ask the feed provider for a link to their namespace URL - then you can use

[Linkfoto|<<URL>>]

Revision history for this message
Rodrigo Luques (rluques) said :
#4

Thanks Dan! You solved my question. Can I ask another one?

It's possible to link a image (.jpg) for my rss template located in a local android folder?

If it is possible, could you please show me some example?

It will be perfect to my project. It is possible?

Thanks a lot!

Revision history for this message
Dan Garner (dangarner) said :
#5

It is a static image for each item in the feed? or should it change per item?

It probably comes down to whether the text editor (for adding the template) strips out the HTML or not.

Revision history for this message
Rodrigo Luques (rluques) said :
#6

In fact it's just a static image.

I need to put the logotype of my RSS provider at the top of my screen. So I don't need to reload the logotype everytime Xibo gets the content from RSS. It will be always the same image.
I'd also like to do some other test with images directly from Android.

Thanks for the quick reply! I'm very excited to produce layouts and content for Xibo :-)

Revision history for this message
Dan Garner (dangarner) said :
#7

the current ticker module doesn't support adding something static before the items - although it could do with some adjustments. at the moment you would have to incorporate the same logo at the front of each feed item.

Can you help with this problem?

Provide an answer of your own, or ask Rodrigo Luques for more information if necessary.

To post a message you must log in.