4images Forum & Community
4images Modifications / Modifikationen => Mods & Plugins (Releases & Support) => Topic started by: mawenzi on December 09, 2005, 06:49:49 PM
-
(http://img517.imageshack.us/img517/1378/deu8yc.gif) - Vorwort :
- Dieser RSS-Feed präsentiert 4images-Website-News.
- Im MOD-Forum existiert bereits ein MOD für einen RSS-Feed, jedoch zeigt dieser Feed die neusten Bilder auf der Website an.
- Dieser News-RSS-Feed zeigt im News-Reader die aktuellsten News deiner 4images-Website an (nicht die neusten Bilder ... !)
(http://img517.imageshack.us/img517/7821/eng9tu.gif) - Preface :
- This RSS-Feed presented 4images-Website-News.
- In the MOD-Forum exist already a MOD for a RSS-Feed, but this feed shows the newest images from your website.
- This News-RSS-Feed shows in a News-Reeder the most current news of your 4images website (not newest images...!).
(http://img517.imageshack.us/img517/1378/deu8yc.gif) - Demo zum MOD :
- Gibt es auf meiner Seite zu sehen : hier (http://klick.kl.funpic.de/index.php) !
- Im IE 7.0 oder FF 2.0 kann der Feed direkt im Browser angezeigt werden : Teste hier (http://klick.kl.funpic.de/rss_news.php) !
- Im NewsBee-Reader sehen die einzelnen News wie folgt aus : ...
(http://img517.imageshack.us/img517/7821/eng9tu.gif) - MOD-Demo :
- You can see it on my site : here (http://klick.kl.funpic.de/index.php) !
- In IE 7.0 or FF 2.0 the feed can display directly in the browser : test here (http://klick.kl.funpic.de/rss_news.php) !
- In NewsBee-Reader the News looks in such a way : ...
(http://img517.imageshack.us/img517/1378/deu8yc.gif) / (http://img517.imageshack.us/img517/7821/eng9tu.gif) - Version :
- 05.12.2006 - Version 1.2 - incl. RSS Symbol for Webbrowsers
- 12.12.2005 - Version 1.1 - incl. News-MOD by janfy
- 11.12.2005 - Version 1.0 - English MOD translation
- 09.12.2005 - Version 1.0 - Veröffentlichung
(http://img517.imageshack.us/img517/1378/deu8yc.gif) - Features zum MOD :
- Dieser News-Feed zeigt die News-Überschrift, die News-Nachricht, das Datum der Veröffentlichung der Nachricht, dein News-Image sowie allgemeine Infos deiner Website in einem News-Reader.
- Die Präsentation der gesamten News im News-Reader erfolgt formatiert in einer Tabelle.
- Ich habe einen Konfigurations-Teil vorgeschaltet (rss_news.php), so dass hier alle Einstellungen ... incl. der URLs, der Tabellenfarben, der Anzahl der News, der Bilder, und des Sprachteils dort gemacht werden können. Der Code muss daher zu Anpassung nicht geändert werden (Ich denke, dass sollte einigen helfen ...)
- Das Datum der News wird im W3C Date and Time Format (http://www.w3.org/TR/NOTE-datetime) dargestellt, was für uns Mitteleuropäer gewöhnungsbedürftig ist. Mit jedem anderen Format jedoch scheitert die Freigabe/Prüfung des RSS-Feeds am FEED Validator (http://feedvalidator.org/) !
(http://img517.imageshack.us/img517/7821/eng9tu.gif) - Features of this MOD :
- This News-Feed show the news-headline, the news-message, the date of the news, your News-Image and general informations of your website in a News-Reader.
- The presentation of the entire news in the News-Reader is shown as a table.
- I have made a configuration part on the top (rss_news.php), so that there all attitudes ... inclusive URLs, the table colors, the number of the news, the News-Image, and language part can be made. The rest of the code does not have to be changed therefore to adjustment. (I think that should help ...)
- The date of the news is represented in the W3C Date and Time Format (http://www.w3.org/TR/NOTE-datetime) . With every other format the release/examination of the RSS-Feed fails by FEED Validator (http://feedvalidator.org/) !
(http://img517.imageshack.us/img517/1378/deu8yc.gif) - Voraussetzungen an MODs :
Die Grundlage für die Erstellung der News auf deiner 4images-Webseite, die mit diesem RSS-Feed veröffentlicht werden sollen, muss der geniale News-MOD von Fugaziman sein !
(http://img517.imageshack.us/img517/7821/eng9tu.gif) - Conditions of MODs :
The basis for the production of the News on your 4images-website, which are to be published with this RSS-Feed, must be the ingenious News-MOD by Fugaziman !
- [MOD] Latest News and Archive (http://www.4homepages.de/forum/index.php?topic=5142) (by Fugaziman)
(http://img517.imageshack.us/img517/1378/deu8yc.gif) - NEU : Die Grundlage für die Erstellung der News auf deiner 4images-Webseite, die mit diesem RSS-Feed veröffentlicht werden sollen, kann auch der News-MOD von janfy sein !
(http://img517.imageshack.us/img517/7821/eng9tu.gif) - NEW :The basis for the production of the News on your 4images-website, which are to be published with this RSS-Feed, also can be the News-MOD by janfy !
- [MOD] Simple News Publishing (http://www.4homepages.de/forum/index.php?topic=6824.0) (by janfy) *
- [MOD] Another Simple News Publishing Mod (http://www.4homepages.de/forum/index.php?topic=9064.0) (by janfy and republished by Vincent) *
*) - are the same ...
(http://img517.imageshack.us/img517/1378/deu8yc.gif) - Neue Dateien :
(http://img517.imageshack.us/img517/7821/eng9tu.gif) - New files :
- rss_news.php
- templates/<your_template>/rss_news.html
- templates/<your_template>/rssitem_news.html
Installation :
(http://img517.imageshack.us/img517/1378/deu8yc.gif) - Schritt 1.1 (News-MOD by Fugaziman)
lege im Root-Verzeichnis die neue Datei rss_news.php mit dem folgenden Inhalt an :
(http://img517.imageshack.us/img517/7821/eng9tu.gif) - Step 1.1 (News-MOD by Fugaziman)
in the root directory make a new file rss_news.php with following contents :
<?php
/************************************************************
* RSS Feed für 4images - NEWS *
* Version 1.0 - Stand 09.12.2005 *
* Autor : www.detlev-kostka.de *
************************************************************/
//--- START CONFIGUGATION -----------------------------------
define('SCRIPT_URL', 'http://your_website.de'); //no trailing slash
define('LANGUAGE', 'de-de');
define('ROOT_PATH', './');
//-----------------------------------------------------------
$news_image_id = 0000; // Image_id of your News Image (only News-MOD by Fugaziman)
$num_news = 3; // Number of News to show in RSS-Reader
$news_image = SCRIPT_URL."/.../news.jpg"; // URL News Image
$width = 100; // width News Image
$height = 75; // height News Image
$thc ="#cccccc"; // table header color
$tcc ="#e6e6e6"; // table content color
$lang_top ="Neue Nachrichten auf www.deine_website.de"; // language Topline
$lang_head ="Headline"; // language Headline
$lang_news = "Nachricht"; // language News
$lang_date = "Nachricht vom"; // language News Date
$lang_vers = "1.7"; // your 4image Script-Version
//------------------------------------------------------------
$iurl = SCRIPT_URL."/.../logo.gif"; // URL Logo Image
//--- END CONFIGURATION --------------------------------------
include(ROOT_PATH.'global.php');
include(ROOT_PATH.'includes/sessions.php');
$main_template = 'rss_news';
//--- Start: Part for News-MOD by Fugaziman ------------------
$sql = "SELECT comment_headline, comment_text, comment_date, image_id
FROM ".COMMENTS_TABLE."
WHERE image_id = $news_image_id
ORDER BY comment_date DESC
LIMIT $num_news";
$result = $site_db->query($sql);
$num_rows = $site_db->get_numrows($result);
$w3c_date_time_format="Y-m-d\TH:i:s+00:00";
while($comment_row = $site_db->fetch_array($result)){
$news_date = format_date($w3c_date_time_format, $comment_row['comment_date']);
$news_head = format_text($comment_row['comment_headline'], $config['html_comments'], $config['wordwrap_comments'], $config['bb_comments'], $config['bb_img_comments']);
$news_text = format_text($comment_row['comment_text'], $config['html_comments'], $config['wordwrap_comments'], $config['bb_comments'], $config['bb_img_comments']);
//--- End: Part for News-MOD by Fugaziman --------------------
$content = " <table width=\"100%\" border=\"0\" cellpadding=\"4\" cellspacing=\"1\"><tr><td colspan=\"2\" valign=\"top\" bgcolor=".$thc.">";
$content .= " <b><i>".$lang_top."</i></b>";
$content .= " </td></tr><tr><td rowspan=\"3\" width=\"2%\" valign=\"top\" bgcolor=".$tcc.">";
$content .= " <img src=\"".$news_image."\" border=\"1\" width=\"".$width."\" height=\"".$height."\" hspace=\"5\" vspace=\"5\" alt=\"".$lang_top."\" />";
$content .= " </td><td width=\"98%\" valign=\"top\" bgcolor=".$tcc.">";
$content .= " <b><i>".$lang_head." : ".$news_head."</i></b>";
$content .= " </td></tr><tr><td valign=\"top\" bgcolor=".$tcc.">";
$content .= " <b><i>".$lang_news." :</i></b><br>".$news_text."";
$content .= " </td></tr><tr><td valign=\"top\" bgcolor=".$tcc.">";
$content .= " <b><i>".$lang_date." : </i></b>".$news_date."";
$content .= " <tr><td colspan=\"2\" valign=\"top\" align=\"center\" bgcolor=".$tcc.">";
$content .= " <font size=\"2\"><i>RSS-Feed ... ".$config['site_name']." ... Powered by 4images".$lang_vers."</i></font>";
$content .= " </td><td></table>";
$site_template->register_vars(array(
"content" => $content,
"lang_news" => $lang_news,
"title" => $news_head,
"domain" => SCRIPT_URL."/index.php",
"link" => SCRIPT_URL."/index.php",
"date" => $news_date ,
));
$news.=$site_template->parse_template("rssitem_news");
}
$site_template->register_vars(array(
"ctitle" => $config['site_name'],
"clink" => SCRIPT_URL,
"cdescription" => $lang_top,
"language" =>LANGUAGE,
"ititle" => $lang_top,
"iurl" => $iurl,
"ilink" => SCRIPT_URL,
"items" => $news,
));
header("Content-type: text/xml; charset=\"ISO-8859-1\"");
$site_template->print_template('<?xml version="1.0" encoding="ISO-8859-1"?>'.$site_template->parse_template($main_template));
?>
(http://img517.imageshack.us/img517/1378/deu8yc.gif) - Schritt 1.1 (News-MOD by janfy)
Nur für den News MOD von janfy tausche in der rss_news.php den folgenden Code :
(http://img517.imageshack.us/img517/7821/eng9tu.gif) - Step 1.1 (News-MOD by janfy)
Only for the News MOD by janfy exchang in rss_news.php the following code :
//--- Start: Part for News-MOD by Fugaziman ------------------
....
//--- End: Part for News-MOD by Fugaziman --------------------
(http://img517.imageshack.us/img517/1378/deu8yc.gif) - durch den folgenden Code aus :
(http://img517.imageshack.us/img517/7821/eng9tu.gif) - by the following code :
//--- Start: Part for News-MOD by janfy ---------------------
$sql = "SELECT news_id, news_title, news_text, news_date
FROM ".NEWS_TABLE."
ORDER BY news_date DESC
LIMIT $num_news";
$result = $site_db->query($sql);
$num_rows = $site_db->get_numrows($result);
$w3c_date_time_format="Y-m-d\TH:i:s+00:00";
while($news_row = $site_db->fetch_array($result)){
$news_date = format_date($w3c_date_time_format, $news_row['news_date']);
$news_head = format_text($news_row['news_title'], $config['html_comments'], $config['wordwrap_comments'], $config['bb_comments'], $config['bb_img_comments']);
$news_text = format_text($news_row['news_text'], $config['html_comments'], $config['wordwrap_comments'], $config['bb_comments'], $config['bb_img_comments']);
//--- End: Part for News-MOD by janfy -----------------------
(http://img517.imageshack.us/img517/1378/deu8yc.gif) - Schritt 1.2 - Einstellungsmöglichkeiten
Im Bereich zwischen Start Configuration / End Configuration musst du alle Anpassungen des RSS-Feeds an deine Website machen.
(http://img517.imageshack.us/img517/7821/eng9tu.gif) - Step 1.2 - Settings
Within the range between Start Configuration / End Configuration you must make all adjustments of the RSS-Feed to your Website.
(http://img517.imageshack.us/img517/1378/deu8yc.gif) - Schritt 2.
lege im Template-Verzeichnis die neue Datei /templates/<your_template>/rss_news.html mit dem folgenden Inhalt an :
(http://img517.imageshack.us/img517/7821/eng9tu.gif) - Step 2.
in template directory make a new file /templates/<your_template>/rss_news.html with the following contents :
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>{ctitle}</title>
<link>{clink}</link>
<language>{language}</language>
<description> {cdescription} </description>
<image><title>{ititle}</title><url>{iurl}</url><link>{ilink}</link></image>
{items}
</channel>
</rss>
(http://img517.imageshack.us/img517/1378/deu8yc.gif) - Schritt 3.
lege im Template-Verzeichnis die neue Datei /templates/<your_template>/rssitem_news.html mit dem folgenden Inhalt an :
(http://img517.imageshack.us/img517/7821/eng9tu.gif) - Step 3.
in template directory make a new file /templates/<your_template>/rssitem_news.html with the following contents :
<item>
<title>{lang_news} : -> {title}</title>
<dc:date>{date}</dc:date>
<category domain="{domain}">{title}</category>
<description><![CDATA[{content}]]></description>
<link>{link}</link>
</item>
(http://img517.imageshack.us/img517/1378/deu8yc.gif) - Schritt 4.
Nun kannst du über einen Link oder natürlich über den allseits bekannten RSS-Button deinen Feed zum Download / Abonnement auf deiner Website anbieten. Die Links würden dann wie folgt aussehen :
(http://img517.imageshack.us/img517/7821/eng9tu.gif) - Step 4.
Now you can offer your feed over a link or the all-side well-known RSS-Button for download / subscription on your website. The link should look as follows:
<a href="http://your_website.de/rss_news.php" target="_blank">News-RSS-Feed</a>
(http://img517.imageshack.us/img517/1378/deu8yc.gif) - bzw. mit Button :
(http://img517.imageshack.us/img517/7821/eng9tu.gif) - and/or with button :
<a href="http://your_website.de/rss_news.php" target="_blank"><img src="http://your_website.de/.../rss_news-button.gif"></a>
(http://img517.imageshack.us/img517/1378/deu8yc.gif) - Schritt 5.
Um das RSS Symbol [ ... (http://img241.imageshack.us/img241/4572/rssyj0.gif) ... ] in deinem Webbrowser (IE oder FF) automatisch zu aktivieren, öffne die Datei /templates/<dein_template>/header.html und suche nach :
(http://img517.imageshack.us/img517/7821/eng9tu.gif) - Step 5.
To activate automaticaly the RSS symbol [ ... (http://img241.imageshack.us/img241/4572/rssyj0.gif) ... ] in your webbrowser (IE or Firefox) open file /templates/<your_template>/header.html and search for :
{if has_rss}
<link rel="alternate" type="application/rss+xml" title="{rss_title}" href="{rss_url}" />
{endif has_rss}
(http://img517.imageshack.us/img517/1378/deu8yc.gif) - oder (in Version < 1.7.3)
(http://img517.imageshack.us/img517/7821/eng9tu.gif) - or (in version < 1.7.3)
<link rel="stylesheet" href="{template_url}/style.css" />
(http://img517.imageshack.us/img517/1378/deu8yc.gif) - und füge danach ein :
(http://img517.imageshack.us/img517/7821/eng9tu.gif) - and insert below :
<link rel="alternate" type="application/rss+xml" title="RSS Feed: ***SITENAME*** (Neue Nachrichten)" href="rss_news.php" />
(http://img517.imageshack.us/img517/1378/deu8yc.gif) - Schritt 6.
Nachdem du deinen News-RSS-Feed fertiggestellt hast, kannst du dir die Gültig- und Rechtmäßigkeit deines RSS-Feeds von feedvalidator.org (http://feedvalidator.org) prüfen und bestätigen lassen.
Und damit keine Zweifel aufkommen, habe ich meinen News-RSS-Feed natürlich prüfen lassen und als Ergebnis folgendes erhalten :
(http://img517.imageshack.us/img517/7821/eng9tu.gif) - Step 6.
After you finished your News-RSS-Feed, you can let examine and confirm the valid and legal standard of your RSS-Feed by feedvalidator.org (http://feedvalidator.org).
And for no doubts, of course I let examine my News-RSS-Feed and as result I get the following :
Congratulations ! (http://www.4homepages.de/forum/index.php?action=dlattach;topic=10715.0;attach=4046;image) This is a valid RSS feed.
mawenzi
-
English version please? :)
-
After finely MOD-tuning I will begin immediately with the translation ... :D
mawenzi
-
Coole Sache, nur schade das ich nen anderen News Mod drin habe :(
Hab den http://www.4homepages.de/forum/index.php?topic=6824.0 News Mod drin. Ist das anpassbar???
-
... Ist das anpassbar???
Ich denke schon. Lass mich noch die engl. Übersetzung fertigstellen ... und dann gehts los.
Ich brauch dann aber noch folgende Angaben zu den News:
- Name der News-Tabelle
- Name Feld - Überschrift
- Name Feld - News-Text
- Name Feld - News-Datum
- Name Feld - News-Id ... ?
Im Prinzip muss ja nur eine query-Anpassung gemacht werden ...
mawenzi
-
Im Prinzip muss ja nur der Quere angepasst werden ...
Das habe ich mir auch gedacht. Müssen ja eigentlich nur die Abfragen geändert werden aber ich komme damit leider nicht klar. PHP ist ne coole Sache aber irgendwie nix für mich :)
Kannst du damit schon was anfangen? Ist die Tabelle die in der Datenbank erstellt werden muss
CREATE TABLE `4images_news` (
`news_id` mediumint(8) NOT NULL auto_increment,
`user_id` mediumint(8) NOT NULL default '0',
`user_name` varchar(255) NOT NULL default '',
`news_title` varchar(255) NOT NULL default '',
`news_text` text NOT NULL,
`news_date` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`news_id`)
) TYPE=MyISAM;
INSERT IGNORE INTO `4images_settings` (`setting_name`, `setting_value`) VALUES ('news_home_display', '1');
INSERT IGNORE INTO `4images_settings` (`setting_name`, `setting_value`) VALUES ('news_nb', '10');
INSERT IGNORE INTO `4images_settings` (`setting_name`, `setting_value`) VALUES ('news_nb_days', '15');
INSERT IGNORE INTO `4images_settings` (`setting_name`, `setting_value`) VALUES ('news_cutoff', '3');
INSERT IGNORE INTO `4images_settings` (`setting_name`, `setting_value`) VALUES ('news_html', '0');
INSERT IGNORE INTO `4images_settings` (`setting_name`, `setting_value`) VALUES ('news_bbcode', '1');
INSERT IGNORE INTO `4images_settings` (`setting_name`, `setting_value`) VALUES ('news_bbcodeimg', '1');
-
(http://img517.imageshack.us/img517/1378/deu8yc.gif) / (http://img517.imageshack.us/img517/7821/eng9tu.gif) - A English MOD-translation now available !
mawenzi
-
@ JensF,
Habe wunschgemäß den MOD erweitert, so dass der NEWS-RSS-FEED jetzt auch für den News-MOD von janfy ([MOD] Simple News Publishing) genutzt werden kann. Ist aber noch ungetestet ... .
mawenzi
-
Ist aber noch ungetestet ... .
Habe es gerade einmal gebastelt und es funktioniert.
Allerdings habe ich ein kleines Problem was ich aber auch bei dem anderen RSS Mod habe. Und zwar ist mein Banner mitten in den ersten News drin....Siehe Screen....liegt das am RSS Programm (NewsBee 2.0) oder an dem Mod???
(http://www.terraristik-galerie.de/sonstiges/rss.gif)
Aber ansonsten klappt es wunderbar...Vielen Dank!!!
*edit*
Hab jetzt nen kleinen Banner genommen aber würde mich doch interessieren warum der große nicht geht.
-
... ist mein Banner mitten in den ersten News drin ...
Für deinen RSS-Feed solltest du dir ein kleineres Logo wählen (habe ich auch...). Da ist standardmäßig nicht so viel Platz dafür vorgesehen . Ich denke max. ca. 150 x 30 px. Das wirst du auch bei allen anderen RSS-Feeds so finden. Danke für deinen Test ... :wink:.
mawenzi
-
Danke!
das habe ich nun auch gemacht. Habe aber nochmal eine Frage.
Und zwar habe ich ja das RSS für die Bilder und das für die News nun in meinem RSS Reader.
Unter dem Punkt "Webfeeds" im Reader steht jetzt aber 2 mal einfach nur "Die Terraristik Bilder Galerie". Kann man das so ändern das hinter dem einem halt "News" steht und hinter dem anderen "Bilder"????
-
... Punkt "Webfeeds" im Reader ... ändern ...
-> in rss_news.php hier :
"ctitle" => $config['site_name']."- News",
oder
"ctitle" => "Terraristik - News",
mawenzi
-
Danke!!!!
Habe jetzt ein kleines Problem. Habe mein NewsBee Reader aktualisiert (Build 384) und nun wird mir nichts mehr angezeigt. Wenn ich alle meine Kanäle lösche und sie wieder hinzufügen will dann bekomme ich die Meldung das der Kanal ungültig sei.
Und wenn ich z.b. das RSS von heise.de hinzufüge klappt das auch aber ich bekomme nichts angezeigt????
Jemand ne Idee???
*edit*
Noch was gefunden...
das hier
"ctitle" => $config['site_name']"- News",
muss so aussehen
"ctitle" => $config['site_name']."- News",
-
@ JensF,
- hast du nach der NewsReader-Aktualisierung nochmals rss-code geändert ?
- hast du vor der NewsReader-Aktualisierung nochmals deine Kanäle gelöscht und aktualisiert ?
- Kanal ungültig : bedeutet eigentlich ... Code-Fehler .
- Prüfe deine Feeds doch mal mit feedvalidator.org , der zeigt dir die Fehler an.
mawenzi
-
- hast du nach der NewsReader-Aktualisierung nochmals rss-code geändert ?
Nein, habe nichts geändert.
- hast du vor der NewsReader-Aktualisierung nochmals deine Kanäle gelöscht und aktualisiert ?
Ja, das habe ich gemacht. Und es geht nicht nur bei meinen Kanälen sondern auch bei allen anderen (heise.de, tagesschau.de etc.). Muss also irgendwie am Reader liegen.
Kanal ungültig : bedeutet eigentlich ... Code-Fehler .
Das hat sich erledigt. Lag an "ctitle" => $config['site_name']"- News",
(siehe meinen Beitrag überhalb von diesem :) ).
- Prüfe deine Feeds doch mal mit feedvalidator.org , der zeigt dir die Fehler an.
Wie gesagt, ist nicht nur bei meinen Feeds so....
Habe es jetzt nochmal deinstalliert und neu installiert. Habe jetzt die Build 383 drauf und die funzt. Werde beim Start aber immer informiert das eine neue Version da ist (Build 384). Egal, ich bleibe jetzt erstmal dabei :)
-
@ JensF
... richtig, dann wieder den alten NewsBee installieren ... :wink:
-
Hab da auch ne Info gefunden. Ist wohl nen Fehler drin in der Version und anstatt einfach nen Update zu machen sollte man die alte Version deinstallieren und die neue komplett installieren.
Weißt du zufällig wie ich in dem Reader meinen Browser ändere?? Nutze Opera aber wenn der Reader mich weiterleitet öffnet sie immer der IE.
-
... Nutze Opera ...
... als Standard-Browser auf deinem PC ... ? Dann sollte das eigentlich nicht passieren.
-
hallo!
danke für diesen grossartigen mod!
ein kleiner Fehler? hat sich eingeschlichen bei der ausgabe des titels im bezug auf der änderung des News-MOD by janfy:
die zeile
$content .= " <b><i>".$lang_head." : ".$comment_row["comment_headline"]."</i></b>";
in
$content .= " <b><i>".$lang_head." : ".$news_row['news_title']."</i></b>";
ändern..
liege ich da richtig? bei mir funktioniert es dann mit der headline.
-
... liege ich da richtig? bei mir funktioniert es dann mit der headline. ...
... natürlich ... habe dann aber für beide News-MODs wie folgt in der MOD-Installation geändert :
$content .= " <b><i>".$lang_head." : ".$news_head."</i></b>";
Danke für den Report ... 8)
mawenzi
-
@ ivan
... mit der Reihenfolge meinst du die in deinem RSS-Reader ... ?
... das ist dann aber abhängig von deinem RSS-Reader ...
... bei mir werden deine News in der richtigen Reihenfolge (NewsBee 2.0) angezeigt ... !
-
@ ivan
... also ich benutze den NewsBee 2.0, der läuft Browser-unabhängig als eigenständiges Programm ...
... Download hier : http://www.newsbee.de/branded/
... mit $iurl wird eine Bild/Logo - URL unabhängig von den News an den RSS-Reader übergeben ...
... dieses Logo wird dann zu deinen News im RSS-Reader immer mit angezeigt ...
... beim NewsBee ist das z.B. rechts-oben in der Ecke (siehe Bild (aka ... print screen ... :wink: ) in der MOD-Beschreibung) ...
... es kann natürlich sein, dass nicht alle RSS-Reader diesen Tag auswerten ...
-
First of all, nice job!
I applied the MOD at my gallery and it's working fine!
I was wondering if there's a way to show new images in the RSS feed.
I know it's supposed to be a lot of work and it will flood the RSS with every new image being displayed there, so instead, is there a possibility to show on the RSS feed all the galleries that are marked as "new"?
Meaning, that the RSS feed will show every time that a gallery has being updated.
Thanks in advance!
Shachar.
-
@ MetallicAchu
... try this ... http://www.4homepages.de/forum/index.php?topic=8240.msg37997#msg37997
-
@ MetallicAchu
... try this ... http://www.4homepages.de/forum/index.php?topic=8240.msg37997#msg37997
Thanks alot! :)
worked out ok
-
To activate automaticaly the RSS symbol in your Webbrowser (IE or Firefox)
open file header.html and search:
<link rel="alternate" type="application/rss+xml" title="{rss_title}" href="{rss_url}" />
{endif has_rss}
insert below:
<link rel="alternate" type="application/rss+xml" title="RSS Feed: ***SITENAME*** (Neue Nachrichten)" href="rss_news.php" />
Best regards
-
(http://img517.imageshack.us/img517/1378/deu8yc.gif) / (http://img517.imageshack.us/img517/7821/eng9tu.gif) - A English MOD-translation now available !
mawenzi
Wie? Wo? ;-)
Chris
-
Hallo Mawenzi, erstmal vielen Dank für den Super-MOD.
Klappt sehr gut in IE und Opera, nur mit Mozilla Firefox werden die Neuigkeiten nicht geöffnet.
Es wird immer die Startseite angezeigt??
Gruß Chris.
-
... die Darstellungsweise ist im Mozilla FF nicht so elegant wie im MS IE oder im NewsBee-RSS-Reader doch funktioniert ...
... zu beachten wäre, dass RSS-Feeds direkt im Browser erst ab den Versionen ...
-> MS IE 7.0
-> M FF 2.0
... formatiert angezeigt werden ...
... die Vorgängerversionen zeigen nur den xml-Code an ...
-
The RSS feed works...with only one problem though....it doesn't preserve the images in the news text an
[ img ]http://www.xyz.com/xxx.img [ /img]
becomes a url...that is a there is no hotlinking is the rss..instead the image is replaced with its url...how I show it to be hotlinked?
-
@navyseal
... and if you use html-code instead of bb-code for your news-images ... ?
<img src="http://www.xyz.com/xxx.img">
-
sorry for the late reply...if I use BBcode it shows as link...but if I use
<img src ="http://xyz.com/abc.jpg">
It just wont render it and instead just shows it without parsing.
-
Habe gerade mal diesen MOD installiert. Funktioniert einwandfrei :-)
Danke dafür.
LG
Ingo
-
@rinaldos ...
... danke für dein Statement, lese ich natürlich gerne ... ;)
... und sieht auch perfekt bei dir aus, die rss_news.php ( ich denke kein Vergleich zur default rss.php ) ...
-
Da hast du recht. Mal schauen ob man die rss.php auch so schön gestalten kann. Mir ist gerade nur aufgefallen, das bei mir, obwohl eingestellt, die letzten 5 News, nur die letzte News angezeigt wird.
Mal schauen woran das liegt. Aber ansonsten PERFEKT und Daumen hoch.......
Gruß
Ingo
-
... kann man natürlich, und wurde auch schon umgesetzt ... ;)
... bei mir werden gerade 22 News von dir angezeigt ...
... die Anzahl der angezeigten News hängt auch noch von der Einstellung des Newsreaders (i.d.R. der Browser) ab ...
-
Oh, dann klappt das ja, dann weiss ich wo ich suchen muss :-) Danke für die Info :-)
-
Moin Mawenzi,
habs auch hinbekommen, Danke für den Mod :)
http://unser-kleiner-zoo.eu/fotos/rss_news.php
Gruß Dieter
-
When I embed a youtube video I can not see it with this rss feed. I am very interested in using it for vidblogs... i do that stuff with my drupal and rss all the time. Can you help mod this so that it will show my embedded youtube vidblog??? Thanks-
Robert
-
... embed videos in rss-feeds ... ?
... I think that is basically not possible ...
... have you such a rss-feed already seen in action ... ?
-
Yes. All the time. Using Drupal or anyother rss feeds, such as those provided from google news, many times youtube is embedded. You can even look at some of the ffedds coming directly from youtubes site.
It wouldbe great if you could lookinto it I am sure it is not that hard for you (probably the question is do you have any extra time to give ? :) ) thanks if you do.
-
... feed url please ...
-
Because my drupal site is not wokring well I am unable to check out the feeds I told you about earlier. I did spen a hour looking online for a sample... but I only used the mozilla/ie/opera reader as I normally use magpie with my drupal site. Its hard to find clear working examples it seems....
But I did find you can use the media content enclosure tag, or ehe enclosure tag, or MRSS.
But, I have decided I dont want to have a feed that links to youtube rather than to my site... So unless you could make it link bak to the site and not to youtube dont worry about it.
-
@ ALL
also ich bekomme KEINEN der genial aufgeteilten und formatierten RSS-Feed die seinerzeit für die V1.7 / V1.7.1 von mawenzi entstanden sind unter der V1.7.6 zulaufen :(
Was muss bitte wie, wo geändert werden?
Danke für eure Hilfe!
-
... die rss.php (formatierter RSS-Feed von mawenzi) arbeitet auch perfekt unter 4images1.7.6 ...
... warum auch nicht ? ... gerade nochmals in einer frischen 4images1.7.6-Installation getestet ...
... bitte PM mit Link auf die betreffende rss.php (nicht nur Link zur Galerie) ...
-
@ mawenzi
Hier der Link zu deiner rss_news.php für den MOD:
[MOD] Another Simple News Publishing Mod (by janfy and republished by Vincent) *
http://www.modkon-germany.de/modelgalerie/rss_news.php
-
... Fehlermeldung ...
Dieser Feed enthält Fehler.
An dieser Stelle sind keine Leerzeichen zugelassen.
Zeile: 3 Zeichen: 39
<title>ModKon-Germany.de ~ Model & Fotografen Gallery</title>
... es liegt wohl an den Sonderzeichen im Namen deiner Galerie ... es ist das "&" ...
... versuche mal das Sonderzeichen via ACP mit "&" zu ersetzen bzw. ganz aus dem Namen zu nehmen und dann die rss_news.php neu zu testen ...
-
@ mawenzi
Du bist genial, danke dir, supi :) Das Einfachste liegt oft so nahe... da wäre ich jetzt echt nicht drauf gekommen. Danke dir nochmals!!!
LG Jasi
(Peter)
-
@ mawenzi
Hmmm... allerdings für deinen RSS-Feed aus der V1.7 / V1.7.1 für die Images kann es dann nicht am behobenen Sonderzeichen im Galerie-Namen liegen:
Der mag leider doch net. Hast du dafür eine Idee und Plan?
Danke und
LG Jasi
-
... rss.php?action=images ... ist nicht mein Feed, der ist default / Standard ...
... Fehlermeldung ...
Dieser Feed enthält Fehler.
An dieser Stelle sind keine Leerzeichen zugelassen.
Zeile: 45 Zeichen: 45
<title>[Neues Bild in Kategorie: Dessous & Erotik] -> sephia</title>
... du siehst, das gleiche Problem ... das "&" ist wieder zu ändern ...
-
@ mawenzi
Also das ist definitiv dein RSS-Feed, von dir gecodet und formatiert, den hattest du 2007/2008 noch als Download auf deiner Page als BETA 0.1 ;)
Also das & habe ich jetzt umgeschrieben mit & - und den Leerschritt entfernt aber läuft dennoch nicht.
Hier mal der PHP-Code, den hatte ich von dir anfang 2008 bekommen:
...
-
... es ist definitiv das "&" ...
... mal komplett aus dem Kategorie-Namen "Dessous & Erotik" entfernen ... und testen ...
... und das "?action=images" gehört nicht in den Link auf den Feed ...
-
@ mawenzi
Jepp ganz ohne & funzt es :)
Das "?action=images" mag auch laufen, ich mach das aber mal gleich noch aus dem Link zum Feed mal raus ;)
Danke dir vielmals und
LG Jasi
(Peter)
-
Sehr gute Modifikation,
aber sag mal mawenzi, kannst du mal beschreiben wie man die RSS Feeds der News auf der Seite quasi als "Letzte 5 News" ausgeben kann? Das wäre richtig perfekt dann. Sowas suche ich dringend. Ich nutze die News Modifikation [MOD]Another Simple News Publishing Mod (http://www.4homepages.de/forum/index.php?topic=9064.0), welche ja in deinem RSS Feed unterstützt wird.
Danke im Voraus!
LG
-
Wie bekommt man den RSS nun auf PHP 5.6 kompatible getrimmt, da Umlaute nicht korrekt ausgegeben werden?