Super ! Danke ! Es geht !
Beiträge von davidlohmann
-
-
Ich schaue morgen nachmittag wieder hier rein
-
Was ist denn wenn du html_entity_decode() drum machst? Da kannste ja auch den Charset übergeben...
Wo drum machen?
-
Hast du das bei allen Ausgaben? Ich kann das auch nicht nachvollziehen. Und auf http://davidlohmann.de/test/service.php sehe ich auch Bindestriche.
Unten auf der Seite bei TV 22:00 Uhr steht:
22:15 RTL - Ich bin ein Star – Holt mich hier raus!
Das erste ist ein Bindestrich - beim zweiten nicht
-
Ich poste mal ein Screenshot...
Muss ich vielleicht irgendwas ändern?
-
Ok, danke
Könnt ihr den Thread https://www.forum-hilfe.de/showthread.php?p=308633#post308633 beantworten?Das wäre super nett !
-
Ich hätte gerne ein Script dafür
Könnt Ihr mir Links geben, wo sowas beschrieben ist? -
Wobei helfen?
Mir ein Script empfehlen oder so...
-
Hi !
Ich baue gerade eine Community.
Jetzt will ich, dass jeder User auf der ersten Seite des Loginbereichs sein Profilbild hat und es auch hochladen kann. Und dass es der User zu jeder Zeit durch ein anderes ersetzen kann.
Das Bild sollte den Dateinamen haben, wie der User auch heißt.
Könnt Ihr mir helfen, das wäre super nett !
Gruß David
Könntet Ihr meinen anderen Thread auch noch beantworten?
https://www.forum-hilfe.de/showthread.php?p=308633#post308633
Danke !
-
Hi !
Ich bin neu hier !
Nun mein Problem:
Auf meiner Seite:http://davidlohmann.de/test/service.php
habe ich einige RSS-Feeds, wo statt einem Bindestrich ( - ) ein – kommt.
Wie schaffe ich es, dass ein Bindestrich ( - ) angezeigt wird.PHP
Alles anzeigen<?php $inhalt="http://www.tvmovie.de/rss/tvjetzt.xml"; $website="http://www.tvmovie.de"; if (@fopen("$inhalt", "r") != "") { $quelle = @file($inhalt); $data = implode ("", $quelle); preg_match_all("|<item>(.*)</item>|Uism",$data, $items, PREG_PATTERN_ORDER); if (count($items[1])==0) { preg_match_all("|<item .*>(.*)</item>|Uism",$data, $items, PREG_PATTERN_ORDER); } for ($i=0; $i<14; $i++) { preg_match_all("|<title>(.*)</title>(.*)<link>(.*)</link>|Uism",$items[1][$i], $regs, PREG_PATTERN_ORDER); preg_match_all("|<pubDate>(.*)</pubDate>|Uism",$items[1][$i], $regs2, PREG_PATTERN_ORDER); $title = utf8_decode($regs[1][0]); $pubdate = utf8_decode($regs2[1][0]); echo '<br><span style="font-family:Arial;font-size:12px"><font color="#FF9900"><b>'.$pubdate.' </b></font><b><font color="#000080"> </font><font color="#FF9900"><a href="'.$regs[3][0].'" target="_blank"><font color="#000080">'.$title.'</font></a></font></b></span>'; } } ?>
PHP
Alles anzeigen<?php $inhalt="http://www.tvmovie.de/rss/tv2015.xml"; $website="http://www.tvmovie.de"; if (@fopen("$inhalt", "r") != "") { $quelle = @file($inhalt); $data = implode ("", $quelle); preg_match_all("|<item>(.*)</item>|Uism",$data, $items, PREG_PATTERN_ORDER); if (count($items[1])==0) { preg_match_all("|<item .*>(.*)</item>|Uism",$data, $items, PREG_PATTERN_ORDER); } for ($i=0; $i<14; $i++) { preg_match_all("|<title>(.*)</title>(.*)<link>(.*)</link>|Uism",$items[1][$i], $regs, PREG_PATTERN_ORDER); preg_match_all("|<pubDate>(.*)</pubDate>|Uism",$items[1][$i], $regs2, PREG_PATTERN_ORDER); $title = utf8_decode($regs[1][0]); $pubdate = utf8_decode($regs2[1][0]); echo '<br><span style="font-family:Arial;font-size:12px"><font color="#FF9900"><b>'.$pubdate.' </b></font><b><font color="#000080"> </font><font color="#FF9900"><a href="'.$regs[3][0].'" target="_blank"><font color="#000080">'.$title.'</font></a></font></b></span>'; } } ?>
PHP
Alles anzeigen<?php $inhalt="http://www.tvmovie.de/rss/tv2200.xml"; $website="http://www.tvmovie.de"; if (@fopen("$inhalt", "r") != "") { $quelle = @file($inhalt); $data = implode ("", $quelle); preg_match_all("|<item>(.*)</item>|Uism",$data, $items, PREG_PATTERN_ORDER); if (count($items[1])==0) { preg_match_all("|<item .*>(.*)</item>|Uism",$data, $items, PREG_PATTERN_ORDER); } for ($i=0; $i<14; $i++) { preg_match_all("|<title>(.*)</title>(.*)<link>(.*)</link>|Uism",$items[1][$i], $regs, PREG_PATTERN_ORDER); preg_match_all("|<pubDate>(.*)</pubDate>|Uism",$items[1][$i], $regs2, PREG_PATTERN_ORDER); $title = utf8_decode($regs[1][0]); $pubdate = utf8_decode($regs2[1][0]); echo '<br><font color="#FF9900"><span style="font-family:Arial;font-size:12px"><b>'.$pubdate.' <a href="'.$regs[3][0].'" target="_blank"><font color="#000080">'.$title.'</font></a></b></span></font>'; } } ?>
PHP
Alles anzeigen<?php $inhalt="http://rss.focus.de/fol/XML/rss_folnews_finanzen.xml"; $website="http://rss.focus.de"; if (@fopen("$inhalt", "r") != "") { $quelle = @file($inhalt); $data = implode ("", $quelle); preg_match_all("|<item>(.*)</item>|Uism",$data, $items, PREG_PATTERN_ORDER); if (count($items[1])==0) { preg_match_all("|<item .*>(.*)</item>|Uism",$data, $items, PREG_PATTERN_ORDER); } for ($i=0; $i<14; $i++) { preg_match_all("|<title>(.*)</title>(.*)<link>(.*)</link>|Uism",$items[1][$i], $regs, PREG_PATTERN_ORDER); preg_match_all("|<pubDate>(.*)</pubDate>|Uism",$items[1][$i], $regs2, PREG_PATTERN_ORDER); $title = utf8_decode($regs[1][0]); $pubdate = utf8_decode($regs2[1][0]); echo '<br><span style="font-family:Arial;font-size:12px"><font color="#FF9900"><b>'.$pubdate.' </b></font><b><font color="#000080"> </font><font color="#FF9900"><a href="'.$regs[3][0].'" target="_blank"><font color="#000080">'.$title.'</font></a></font></b></span>'; } } ?>
PHP
Alles anzeigen<?php $inhalt="http://www.spielfilm.de/rss/filmstarts.xml"; $website="http://www.spielfilm.de"; if (@fopen("$inhalt", "r") != "") { $quelle = @file($inhalt); $data = implode ("", $quelle); preg_match_all("|<item>(.*)</item>|Uism",$data, $items, PREG_PATTERN_ORDER); if (count($items[1])==0) { preg_match_all("|<item .*>(.*)</item>|Uism",$data, $items, PREG_PATTERN_ORDER); } for ($i=0; $i<14; $i++) { preg_match_all("|<title>(.*)</title>(.*)<link>(.*)</link>|Uism",$items[1][$i], $regs, PREG_PATTERN_ORDER); preg_match_all("|<pubDate>(.*)</pubDate>|Uism",$items[1][$i], $regs2, PREG_PATTERN_ORDER); $title = utf8_decode($regs[1][0]); $pubdate = utf8_decode($regs2[1][0]); echo '<br><span style="font-family:Arial;font-size:12px"><font color="#FF9900"><b>'.$pubdate.' </b></font><b><font color="#000080"> </font><font color="#FF9900"><a href="'.$regs[3][0].'" target="_blank"><font color="#000080">'.$title.'</font></a></font></b></span>'; } } ?>
Liegt das an meinem Script oder am RSS Feed?
Könnt Ihr mir helfen, das zu beheben?
Gruß David !