MyBB.de Forum
RSS To Post - Druckversion

+- MyBB.de Forum (https://www.mybb.de/forum)
+-- Forum: Anpassungen (https://www.mybb.de/forum/forum-47.html)
+--- Forum: Plugin-Veröffentlichungen und -Support (https://www.mybb.de/forum/forum-82.html)
+--- Thema: RSS To Post (/thread-20635.html)

Seiten: Seiten: 1 2 3 4 5 6 7 8


RE: RSS To Post 1.2.2 - Nukular - 20.08.2009

Andere Codierung isses, zumindest laut Quelltext:

<?xml version="1.0" encoding="ISO-8859-1"?>


Da ich Null Plan von PHP hab weiß ich nich so recht was ich mit der mb_convert_encoding Funktion machen soll ...

Soll ich statt
PHP-Code:
message html_entity_decode($item_data['content:ISO-8859-1_encoded']); 
vielleicht
PHP-Code:
message mb_convert_encoding($item_data['content:ISO-8859-1_encoded']); 
oder doch eher
PHP-Code:
message mb_convert_encoding($item_data['content:ISO-8859-1_mb_convert_encoding']); 
?


RE: RSS To Post 1.2.2 - StefanT - 20.08.2009

PHP-Code:
                    if($item_data['content:encoded'])
                    {
                        
$message html_entity_decode(utf8_encode($item_data['content:encoded']));
                    }
                    else
                    {
                        
$message html_entity_decode(utf8_encode($item_data['description']));
                    } 



RE: RSS To Post 1.2.2 - Nukular - 20.08.2009

Ah ja, das klappt soweit schon fast gut.

Der Text selbst ist nun richtig Codiert.
Leider aber das Thema selbst noch nicht, also die "Überschrift"

Buch 8: Patch 1 f?r ?Die Gei?el von Khazad-d?m? kommt am 13. August auf die Server

bzw siehe live:

http://www.lotro-portal.de/forum/forumdisplay.php?fid=54


RE: RSS To Post 1.2.2 - StefanT - 20.08.2009

Ersetze:
PHP-Code:
                $subject html_entity_decode($item_data['title']); 
durch:
PHP-Code:
                $subject html_entity_decode(utf8_encode($item_data['title'])); 



RE: RSS To Post 1.2.2 - Nukular - 20.08.2009

Hossa ... das sieht schon wesentlich besser aus!
Bin beeindruckt!

Lustigerweise gibt es immernoch ein Zeichen was nicht erkannt wird:
Buch 8: Patch 1 für ?Die Geißel von Khazad-dûm? kommt am 13. August auf die Server

An der Stelle sollten eigentlich "nur" Anführungsstriche sein ...


RE: RSS To Post 1.2.2 - StefanT - 20.08.2009

Da müsste man jetzt experimentieren. PHP bietet einige Funktionen für die Kodierung.


RE: RSS To Post 1.2.2 - Jan - 20.08.2009

Das ganze wird auch im Feed schon falsch dargestellt.


RE: RSS To Post 1.2.2 - Nukular - 20.08.2009

Im Firefox nicht.
Allerdings im IE7.

Also lassen wir alles so wie es ist.

Danke Stefan für die großartige Hilfe!

Ist eh zu warm für sowas!


RSS To Post hackt nach umlauten ab - Norbert - 09.02.2010

Hallo,
ich hab da mal das Problem das ich mir mit diesem Plug in
Zitat:RSS To Post (1.2.2)
Parses RSS feeds and posts new items onto a specified forum. For MyBB 1.4.

See the "RSS To Post" section in the ACP Configuration Menu to configure this plugin.
Erstellt von DennisTT

Rss Feeds lade

der eine kommt sauber und ohne Probleme und der andere hackt nach umlauten ab

Weiß da jemand eine Antwort zu.

   


RE: RSS To Post 1.2.2 - StefanT - 09.02.2010

https://www.mybb.de/forum/thread-20635-post-149813.html#pid149813
https://www.mybb.de/forum/thread-20635-post-149821.html#pid149821