February 23, 2020, 05:05:14 AM
Welcome, Guest. Please login or register
News: Join us for a FREE Webinar this Thursday at http://webinar.digitalsignage.com

MediaSignage support forum



Author Topic: helpppp  (Read 2937 times)

signergyx

  • Newbie
  • *
  • Posts: 15
  • Karma: +1/-0
    • View Profile
helpppp
« on: March 23, 2013, 04:58:39 PM »
Hi guys,

  i did with half success loading my RSS, text loading OK, title loading OK (just portuguese charset or iso charset dont work) i set resouce to try loading  image (dont work)
this is my xml rss with tags

<?xml version="1.0" encoding="ISO-8859-1" ?>
<rss version="2.0">
<channel>
<title>Boas Práticas</title>
<description>RSS Contentme</description>
<link>myurl/clientes/wbo/boaspraticas.xml</link>
<language>pt-br</language>
<item>
<title>Sei que vou testar</title>
<description>Que a Casa Suiça tem uma linha de bolos com mais de 26 tipos diferentes!</description>
<linkfoto>myurl/files/file_514e26d9aeaf5.jpg</linkfoto>
<creditfoto>Contentme</creditfoto>
<pubdate>2013-03-23</pubdate>
</item>
<item>
<title>Boas Práticas</title>
<description>Estacionamento: Fique atendo, verifique se não está ocupando mais de uma vaga. Deixe seu veículo alinhado e mantenha sempre o crachá de identificação.</description>
<linkfoto>myurl/files/file_4d05f49637db6.jpg</linkfoto>
<creditfoto>Contentme</creditfoto>
<pubdate>2010-12-13</pubdate>
</item>
</channel>
</rss>


   My questions:

      Tag default to load image ?
      How i put pt_br  charset ? Ç,ã etc..

this is urgent, i need fix it in costumer asap to monday stay work or i´ll lost this customer :(

cheers!

cloud

  • Full Member
  • ***
  • Posts: 203
  • Karma: +3/-1
    • View Profile
Re: helpppp
« Reply #1 on: March 23, 2013, 06:01:08 PM »
Welcome!  ;D

So, use this XML item as a example:

Code: [Select]
<item>
<title><![CDATA[You title with ISO characters]]></title>
<description><![CDATA[Your description with ISO characters]]></description>
<media:content url="Your_image_URL" type="image/jpeg" width="1024" height="768"></media:content>
</item>

Change the title, description, image_url, image_type, image_width, image_height, etc....

signergyx

  • Newbie
  • *
  • Posts: 15
  • Karma: +1/-0
    • View Profile
Re: helpppp
« Reply #2 on: March 24, 2013, 12:50:40 PM »
i try change to

<?xml version="1.0" encoding="ISO-8859-1" ?>
<rss version="2.0">
<channel>
<title><![CDATA[Boas Práticas]]</title>
<description>RSS</description>
<link>mysite/clientes/wbo/boaspraticas.xml</link>
<language>pt-br</language>
<item>
<title><![CDATA[teste]]</title>
<description><![CDATA[Teste
Será que vai dar tudo certo agora ?]]</description>
<media:content url="" type="image/jpeg" width="1024" height="768"></media:content>
<pubdate>2013-03-22</pubdate>
</item>
<item>
<title><![CDATA[Você sabia?]]</title>
<description><![CDATA[Que a Casa Suiça tem uma linha de bolos com mais de 26 tipos diferentes!]]</description>
<media:content url="mysite/files/file_4d060efb0a745.jpg" type="image/jpeg" width="1024" height="768"></media:content>
<pubdate>2010-12-13</pubdate>
</item>
</channel>
</rss>

and dont show nothing
:(

cloud

  • Full Member
  • ***
  • Posts: 203
  • Karma: +3/-1
    • View Profile
Re: helpppp
« Reply #3 on: March 24, 2013, 01:20:54 PM »
Try using this example, look at RSS attributes (media... yahoo mrss, etc):

Code: [Select]
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/" xmlns:ynews="http://news.yahoo.com/rss/">
<channel>
<title>RSS</title>
<item>
<title><![CDATA[Title]]></title>
<description><![CDATA[Description]]></description>
<media:content url="IMAGE_URL" type="image/" width="1024" height="768"/>
</item>
</channel>
</rss>

signergyx

  • Newbie
  • *
  • Posts: 15
  • Karma: +1/-0
    • View Profile
Re: helpppp
« Reply #4 on: March 24, 2013, 02:17:09 PM »
i try using like video learning and add in a custom desing this rss rss news yahoocom/rss/elections
and show 2 times image

in rss yahoo

signergyx

  • Newbie
  • *
  • Posts: 15
  • Karma: +1/-0
    • View Profile
Re: helpppp
« Reply #5 on: March 24, 2013, 06:12:12 PM »
works with a strange tag

  :)

   now just a tiny conf on content.

  and discovery how to make load a each time thats rss custom loading other news :(

all time when load show 1st news no next news

cloud

  • Full Member
  • ***
  • Posts: 203
  • Karma: +3/-1
    • View Profile
Re: helpppp
« Reply #6 on: March 24, 2013, 06:50:27 PM »
If your content is assembled dynamically, for example if it is you who creates the output of RSS using some script, you could randomize the output for each request, so every time show the RSS, it will show a different item, even if this is the first item because it was randomized before.

 ;D

signergyx

  • Newbie
  • *
  • Posts: 15
  • Karma: +1/-0
    • View Profile
Re: helpppp
« Reply #7 on: March 24, 2013, 07:23:02 PM »
thx cloud you save my day heheh!

by the way with this tag i fix image troubles $o[] = '<enclosure url="'. ($file) .'"  type="image/jpeg" width="1024" height="768"/>';

now ill see how loading content nice, i have 25 scenes to create hehehe with rss.


cloud

  • Full Member
  • ***
  • Posts: 203
  • Karma: +3/-1
    • View Profile
Re: helpppp
« Reply #8 on: March 24, 2013, 07:28:53 PM »
You're welcome.  ;D
I did not know this tag, good to know if I need.  ;D

 

Carbonate design by Bloc
variant: carbon
SMF 2.0.12 | SMF © 2016, Simple Machines