RSS Feed Poster

Started by SMFHacks.com Team, January 11, 2007, 07:46:04 PM

Previous topic - Next topic

TheDarkie

Can anyone provide some support for curl? it doesn't work for me since the fsock is disabled because they deem it to be a security risk.

Niteblade

Quote from: TheDarkie on February 26, 2007, 10:55:26 PM
Can anyone provide some support for curl? it doesn't work for me since the fsock is disabled because they deem it to be a security risk.

Sounds like Dreamhost.

Search Google for installing a cutomized PHP on dreamhost.
affiliate blog

TheDarkie

Quote from: nite0859 on February 26, 2007, 11:11:47 PM
Quote from: TheDarkie on February 26, 2007, 10:55:26 PM
Can anyone provide some support for curl? it doesn't work for me since the fsock is disabled because they deem it to be a security risk.

Sounds like Dreamhost.

Search Google for installing a cutomized PHP on dreamhost.

It is dreamhost, can you help me by providing me with a link, google didn't help me =\

Buster.de

#323
Thank you for this great mod.

After installation the link to feedadmin didn't have any label and appeared as blank space below server settings. Then i noticed that only the english language files were updated. So I've added files for german translation.

Trying some feeds i came across a encoding conversion problem. I've got a rss feed that is encoded in iso-8859-1 but without htmlspecialchars used before feed output. My forum is iso-8859-1 too, but for example german umlauts don't show correctly with this feed. Importing an utf-8 encoded feed into my iso-8859-1 encoded forum also results in wired characters in posts. Any ideas for a quick fix/workaround?

One solution might be to send all feed input through hxxp:de.php.net/manual/en/function.iconv.php [nonactive] or hxxp:de.php.net/manual/en/function.recode-string.php [nonactive] if at least one of both php extensions is available or use home-made conversion code.

3nd3r

Awesome mod! But...

The thing is that non-english characters causes the feed poster stops when it found them... So, posts are incompleted.

I've readed ALL this more-than-twenty pages thread. I've remember something about censored words can fix this?

Thank you in advance

npereira

hi all,

I just updated my SMF to 1.1.2 and updated my Theme Igoh to version 1.1.2 also.

Installed feed poster but in the admin panel, i dont see the link for the administration of the feeds. It shows up as a blank line.

How can I fix this?

vbgamer45

Copy text strings from themes/default/langauages/modificaitons.english.php  to  themes/yourtheme/langauages/modificaitons.english.php  
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

npereira


3nd3r

Any idea about non-english characters?

vbgamer45

Currently not supported.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Buster.de

Attached Subs-RSS.php works for me with 2 features added:


  • automatic conversion of different character encodings to the forum used encoding
  • recognize ATOM feeds

kappen

I cant seem to get this mod to work on a Joomla Bridge SMF installation.  The Admin page link just goes back to the main page of the forum.

3nd3r

Quote from: Buster.de on March 12, 2007, 08:23:07 AM
Attached Subs-RSS.php works for me with 2 features added:


  • automatic conversion of different character encodings to the forum used encoding
  • recognize ATOM feeds

Doesn't work for me... When it found a character like "á", "é", "ñ"... it stops...

Buster.de

What do you mean by "it stops"? Who or what is it and what stops? What character encodings are involved (used by the feed, used by your forum)?

3nd3r

Sorry, I didn't explain myself clearly.

The problem happened before substitution of the file you attach.

Well, let's imagine we have a feed like this (RSS 2.0): http://hispamp3.com/hispamp3-rss-2.xml

I paste the beggining ot the feed:
<rss version="2.0">

<channel>
<title>HispaMP3.com</title>

<description>
Actualidad informática, ciencia, tecnología, música y cine
</description>
<link>http://www.hispamp3.com/</link>
<lastBuildDate>Mon, 12 Mar 2007 19:31:35 +0100</lastBuildDate>
<generator/>

<image>
<url>http://www.hispamp3.com/images2/logorss.gif</url>
<title>HispaMP3 logo</title>
<link>http://www.hispamp3.com</link>

<description>
Noticias proporcionadas por HispaMP3. Pincha para visitarnos.
</description>
</image>

<item>
<title>El Defensor del Internauta.</title>

<link>
http://www.hispamp3.com/noticias/noticia.php?noticia=20070312174537
</link>

<description>
La Comisión de Estudio para la Sociedad de la Información y del Conocimiento de la Asamblea de Madrid ha aprobado este lunes tras tres años de trabajos, un dictamen de conclusiones en el que solicita al Gobierno regional a crear "un defensor del internauta o del usuario de las telecomunicaciones".
</description>
<author>Redacción</author>
<pubDate>Mon, 12 Mar 2007 17:45:37 +0100</pubDate>
</item>


And the result of this, the post, will show something like:

Title (of post): El Defensor del Internauta.
Content: La Comisi

The Feed Poster found "ó" character and stops writing.

tsmalmbe

Cannot get the special characters äöå to work. I installed the Subs-RSS with the encoding-stuff.

Below is an excerpt from the feed. My board is configured for UTF-8. The behaviour is just as 3nd3r describes.


<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- generator="FeedCreator 1.7.2 for Vi Musiker" -->
<?xml-stylesheet href="/css/rssfeed.css" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://www.vimusiker.se/">
        <title>Vi Musiker</title>
        <description>Svenska aktuella musiknyheter</description>
        <link>http://www.vimusiker.se</link>
        <image rdf:resource="http://www.vimusiker.se/pics/ban03-88.png" />

       <dc:date>2007-03-10T22:27:21+01:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://www.vimusiker.se/musikforum/f6t3212s1.html"/>
                <rdf:li rdf:resource="http://www.vimusiker.se/musikforum/f6t3200s1.html"/>
                <rdf:li rdf:resource="http://www.vimusiker.se/musikforum/f6t3193s1.html"/>
                <rdf:li rdf:resource="http://www.vimusiker.se/musikforum/f6t3190s1.html"/>
                <rdf:li rdf:resource="http://www.vimusiker.se/musikforum/f6t3189s1.html"/>

                <rdf:li rdf:resource="http://www.vimusiker.se/musikforum/f6t3185s1.html"/>
                <rdf:li rdf:resource="http://www.vimusiker.se/musikforum/f6t3177s1.html"/>
                <rdf:li rdf:resource="http://www.vimusiker.se/musikforum/f6t3176s1.html"/>
                <rdf:li rdf:resource="http://www.vimusiker.se/musikforum/f6t3173s1.html"/>
                <rdf:li rdf:resource="http://www.vimusiker.se/musikforum/f6t3162s1.html"/>
                <rdf:li rdf:resource="http://www.vimusiker.se/musikforum/f6t3161s1.html"/>
                <rdf:li rdf:resource="http://www.vimusiker.se/musikforum/f6t3157s1.html"/>
                <rdf:li rdf:resource="http://www.vimusiker.se/musikforum/f6t3125s1.html"/>
                <rdf:li rdf:resource="http://www.vimusiker.se/musikforum/f6t3122s1.html"/>

                <rdf:li rdf:resource="http://www.vimusiker.se/musikforum/f6t3116s1.html"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://www.vimusiker.se/pics/ban03-88.png">
        <title>Vi Musiker logo</title>
        <link>http://www.vimusiker.se</link>
        <url>http://www.vimusiker.se/pics/ban03-88.png</url>

    </image>
    <item rdf:about="http://www.vimusiker.se/musikforum/f6t3212s1.html">
        <dc:format>text/html</dc:format>
        <dc:date>2007-03-10T21:26:53+01:00</dc:date>
        <dc:source>http://www.vimusiker.se</dc:source>
        <dc:creator>Bengt</dc:creator>
        <title>Melodifestivalen avgjord - The Ark till Helsingfors</title>

        <link>http://www.vimusiker.se/musikforum/f6t3212s1.html</link>
        <description>Melodifestivalen 2007 avgjordes ikväll med följande slutresultat:
..:: http://www.kontrollrummet.com - Studio och musik ::.. RSS?

vbgamer45

Special characters are not supported such as non english characters.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Niteblade

I'm attempting to grab the news from a local television station so that my users can comment on the news inside my forum.

The RSS Feed is this :: http://www.kwes.com/Global/category.asp?C=83261&clienttype=rss

However, the RSS Feed Poster Mod does not / cannot / will not recognize the feed in order to grab the feed in order to post the feed. I know the mod works perfectly for the RSS from my directory.. here's the thread on my forum that I use to grab feed from SMFoogle.com :: http://forum.midessa.net/the-smfoogle-network-site-showcase-b77.0/ ..

Is the feed screwed?
affiliate blog

tsmalmbe

Quote from: vbgamer45 on March 12, 2007, 08:01:07 PM
Special characters are not supported such as non english characters.

Yes, I've read your previous replies. Give me a hint: is the problem in reading the http-stream, parsing the xml-file or storing to the database? I'm willing to put some effort into fixing this.
..:: http://www.kontrollrummet.com - Studio och musik ::.. RSS?

vbgamer45

I am not sure how to fix you would need to ask some other people.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Advertisement: