Author Topic: WDTV  (Read 3946 times)

0 Members and 1 Guest are viewing this topic.

Offline swgschmidt

  • Pre-Newbie
  • Posts: 3
    • View Profile
WDTV
« on: August 17, 2010, 12:03:25 PM »
ich möchte meine gallery per wdtv am fehrnseher anschauen
deshalb ist es notwendig das, das media bild, also das orginalbild per enclosure eingebunden wird in der rss und nicht das tumpbild
wie kann ich dieses erreichen ?
bitte um schnelle hilfe

I would like to look at my gallery by WDTV on fehrnseher
Therefore it is necessary that the media image, is thus the original image included using enclosure in the rss and not the tumpbild
how can I achieve this?
Please for quick help

Rembrandt

  • Guest
Re: WDTV
« Reply #1 on: August 17, 2010, 01:23:17 PM »
Willkommen im Forum!
eines vorweg ich habe keine ahnung was WDTV ist noch habe ich die möglichkeit es zu testen.

suche in root/rss.php:
    if (get_file_path($image_row['image_thumb_file'], "thumb"$cat_id00)) {

und ersetze es mit:
    if (get_file_path($image_row['image_media_file'], "media"$cat_id00)) {

suche:
        'url' => get_file_url($image_row['image_thumb_file'], "thumb"$cat_id),

und ersetze es mit:
        'url' => get_file_url($image_row['image_media_file'], "media"$cat_id),

suche:
        'enclosure' => get_rss_enclosure($row['image_thumb_file'], "thumb"$row['cat_id']),

und ersetze es mit:
        'enclosure' => get_rss_enclosure($row['image_media_file'], "media"$row['cat_id']),


mfg Andi

Offline swgschmidt

  • Pre-Newbie
  • Posts: 3
    • View Profile
Re: WDTV
« Reply #2 on: August 17, 2010, 05:53:02 PM »
hallo andi
besten dank
habe alles wie beschrieben gemacht, wenn ich seite im explorer öffne wird folgender fehler angezeigt :

In einem XML-Dokument ist nur ein Element höchster Ebene zugelassen.
 Zeile: 2 Zeichen: 2

<b>Parse error</b>:  syntax error, unexpected '=' in <b>/var/www/swgschmidt/imago/rss.php</b> on line <b>175</b><br />

mfg schmidt

Rembrandt

  • Guest
Re: WDTV
« Reply #3 on: August 17, 2010, 06:34:37 PM »
Hi!

soeben ausprobiert funktioniert einwandfrei.
kontrollier noch mal die betreffende zeile.
wennst du es nicht zusammen bringst poste deine rss.php als attachment.

mfg Andi

Offline swgschmidt

  • Pre-Newbie
  • Posts: 3
    • View Profile
Re: WDTV
« Reply #4 on: August 18, 2010, 09:28:00 AM »
habe datei jetzt lokal bearbeitet, auf festplatte gespeichert und dann erst hochgeladen,dann hat es fuktioniert
besten dank für die schnelle hilfe
mfg schmidt