News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

RSS Feed Poster

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

Previous topic - Next topic

chuck23322

Quote from: Fabiolas on April 21, 2012, 09:35:48 AM
Quote from: chuck23322 on April 21, 2012, 08:45:58 AM
Quote from: Fabiolas on April 21, 2012, 08:44:08 AM
I have some problems with "à" characters.

It posts "� " instead of "à".

What SMF version are you running?  Is your MYSQL databases set for UTF-8?  Is your SMF also set for UTF-8 character set?

2.0.2.

Yes, everything is set for UTF-8 and i only have  problems with that character.

I'm stumped then.   I guess you could modify the PHP to do a "search/replace" for the problem character.  But that's above my skill level.

Fabiolas

Quote from: chuck23322 on April 21, 2012, 09:53:50 AMI'm stumped then.   I guess you could modify the PHP to do a "search/replace" for the problem character.  But that's above my skill level.

I tried censured words but i got blank posts and i don't understand why.

Hope that someone can help fixing this :)

chuck23322

Quote from: Fabiolas on April 21, 2012, 09:56:27 AM
Quote from: chuck23322 on April 21, 2012, 09:53:50 AMI'm stumped then.   I guess you could modify the PHP to do a "search/replace" for the problem character.  But that's above my skill level.

I tried censured words but i got blank posts and i don't understand why.

Hope that someone can help fixing this :)

Ah! That would be a creative solution :)   Hope somebody chimes in -- or you may want to start a thread on just that on the general support area.

Fabiolas

Quote from: chuck23322 on April 21, 2012, 10:00:37 AMAh! That would be a creative solution :)   Hope somebody chimes in -- or you may want to start a thread on just that on the general support area.

This problem is related to this mod and not with SMF. So, this is the best place to ask for some support.

So, if anyone knows how to prevent RSS Feed Poster from posting "� " instead of "à", it would be great!!

Ch4ng3r

Quote from: Fabiolas on April 21, 2012, 01:51:02 PM
Quote from: chuck23322 on April 21, 2012, 10:00:37 AMAh! That would be a creative solution :)   Hope somebody chimes in -- or you may want to start a thread on just that on the general support area.

This problem is related to this mod and not with SMF. So, this is the best place to ask for some support.

So, if anyone knows how to prevent RSS Feed Poster from posting "� " instead of "à", it would be great!!
i have the same problem with š,đ,č,ć,ž... :(

Ch4ng3r

Sources/Subs-RSS2.php

// Process the XML
$xml_parser = xml_parser_create("ISO-8859-1");


Replace with

// Process the XML
$xml_parser = xml_parser_create("UTF-8");


Checked and works! :D

Fabiolas

I already did it but RSS Feed Poster still posts "� " instead of "à".

GarfieldP

I am using this feed
http://www.arcamax.com/thefunnies/garfield/rss
but each time the picture does not show up in the post.  Is there any cure?

Fabiolas

Quote from: GarfieldP on April 23, 2012, 07:51:47 PM
I am using this feed
http://www.arcamax.com/thefunnies/garfield/rss
but each time the picture does not show up in the post.  Is there any cure?

What do you see in your posts source code? There is any url to images?

GarfieldP

Quote from: Fabiolas on April 24, 2012, 02:13:26 PM
Quote from: GarfieldP on April 23, 2012, 07:51:47 PM
I am using this feed
http://www.arcamax.com/thefunnies/garfield/rss
but each time the picture does not show up in the post.  Is there any cure?

What do you see in your posts source code? There is any url to images?
this is the code it posts
[b]Saturday, April 21, 2012[/b]

[html]Garfield by Jim Davis for April 21, 2012<br /><p><a href="http://feedads.g.doubleclick.net/~a/SNQSqySoGy6IqNefEODDsSMqi7w/0/da"><img src="http://feedads.g.doubleclick.net/~a/SNQSqySoGy6IqNefEODDsSMqi7w/0/di" border="0" ismap="true"></img></a><br/><br /><a href="http://feedads.g.doubleclick.net/~a/SNQSqySoGy6IqNefEODDsSMqi7w/1/da"><img src="http://feedads.g.doubleclick.net/~a/SNQSqySoGy6IqNefEODDsSMqi7w/1/di" border="0" ismap="true"></img></a></p><div class="feedflare"><br /><a href="http://feeds.feedburner.com/~ff/uclick/garfield?a=ggIi7Yzfpsk:gv37I7yOigk:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/uclick/garfield?i=ggIi7Yzfpsk:gv37I7yOigk:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/uclick/garfield?a=ggIi7Yzfpsk:gv37I7yOigk:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/uclick/garfield?i=ggIi7Yzfpsk:gv37I7yOigk:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/uclick/garfield?a=ggIi7Yzfpsk:gv37I7yOigk:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/uclick/garfield?d=qj6IDK7rITs" border="0"></img></a><br /></div><img src="http://feeds.feedburner.com/~r/uclick/garfield/~4/ggIi7Yzfpsk" height="1" width="1"/>[/html]

Source: [url=http://feedproxy.google.com/~r/uclick/garfield/~3/ggIi7Yzfpsk/21]Saturday, April 21, 2012[/url]

Fabiolas

Quote from: GarfieldP on April 24, 2012, 03:28:39 PMthis is the code it posts
[b]Saturday, April 21, 2012[/b]

[html]Garfield by Jim Davis for April 21, 2012<br /><p><a href="http://feedads.g.doubleclick.net/~a/SNQSqySoGy6IqNefEODDsSMqi7w/0/da"><img src="http://feedads.g.doubleclick.net/~a/SNQSqySoGy6IqNefEODDsSMqi7w/0/di" border="0" ismap="true"></img></a><br/><br /><a href="http://feedads.g.doubleclick.net/~a/SNQSqySoGy6IqNefEODDsSMqi7w/1/da"><img src="http://feedads.g.doubleclick.net/~a/SNQSqySoGy6IqNefEODDsSMqi7w/1/di" border="0" ismap="true"></img></a></p><div class="feedflare"><br /><a href="http://feeds.feedburner.com/~ff/uclick/garfield?a=ggIi7Yzfpsk:gv37I7yOigk:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/uclick/garfield?i=ggIi7Yzfpsk:gv37I7yOigk:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/uclick/garfield?a=ggIi7Yzfpsk:gv37I7yOigk:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/uclick/garfield?i=ggIi7Yzfpsk:gv37I7yOigk:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/uclick/garfield?a=ggIi7Yzfpsk:gv37I7yOigk:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/uclick/garfield?d=qj6IDK7rITs" border="0"></img></a><br /></div><img src="http://feeds.feedburner.com/~r/uclick/garfield/~4/ggIi7Yzfpsk" height="1" width="1"/>[/html]

Source: [url=http://feedproxy.google.com/~r/uclick/garfield/~3/ggIi7Yzfpsk/21]Saturday, April 21, 2012[/url]


Why are you using feedburner and not the main link as feed?
http://www.arcamax.com/thefunnies/garfield/rss

GarfieldP

Quote from: Fabiolas on April 24, 2012, 03:46:57 PM
Quote from: GarfieldP on April 24, 2012, 03:28:39 PMthis is the code it posts
[b]Saturday, April 21, 2012[/b]

[html]Garfield by Jim Davis for April 21, 2012<br /><p><a href="http://feedads.g.doubleclick.net/~a/SNQSqySoGy6IqNefEODDsSMqi7w/0/da"><img src="http://feedads.g.doubleclick.net/~a/SNQSqySoGy6IqNefEODDsSMqi7w/0/di" border="0" ismap="true"></img></a><br/><br /><a href="http://feedads.g.doubleclick.net/~a/SNQSqySoGy6IqNefEODDsSMqi7w/1/da"><img src="http://feedads.g.doubleclick.net/~a/SNQSqySoGy6IqNefEODDsSMqi7w/1/di" border="0" ismap="true"></img></a></p><div class="feedflare"><br /><a href="http://feeds.feedburner.com/~ff/uclick/garfield?a=ggIi7Yzfpsk:gv37I7yOigk:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/uclick/garfield?i=ggIi7Yzfpsk:gv37I7yOigk:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/uclick/garfield?a=ggIi7Yzfpsk:gv37I7yOigk:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/uclick/garfield?i=ggIi7Yzfpsk:gv37I7yOigk:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/uclick/garfield?a=ggIi7Yzfpsk:gv37I7yOigk:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/uclick/garfield?d=qj6IDK7rITs" border="0"></img></a><br /></div><img src="http://feeds.feedburner.com/~r/uclick/garfield/~4/ggIi7Yzfpsk" height="1" width="1"/>[/html]

Source: [url=http://feedproxy.google.com/~r/uclick/garfield/~3/ggIi7Yzfpsk/21]Saturday, April 21, 2012[/url]


Why are you using feedburner and not the main link as feed?
http://www.arcamax.com/thefunnies/garfield/rss

I just did but it still does not show an image.  It only points to the url with the image. 

IchBin™

You'll see if you actually read through this topic a bit that many people are trying to get the feature you are asking about. To allow the HTML to be parsed in the post so it will show the images and stuff. I think a few people have posted work arounds if you care to look.
IchBin™        TinyPortal

frytec

Hey guys, its funny but i use a cms that have a plugin called rss autoreader..

this plugin can retrieve the complete feed item, and post it with all images and links and everything else.

if someone take a look at the plugin code, maybe it can help you to make this works in SMF.

the cms is called Hotaru, the plugin can be downloaded here http://forums.hotarucms.org/showthread.php?583-Autoreader-1-0-1

jadunlapjr

I'm a newbie.  Where do I put the FeedPostersql2.php?  It says "Code" on the mod page (http://custom.simplemachines.org/mods/index.php?mod=624) but I don't know what that means. I've done everything else on the mod page of instructions but I can't even find the control panel for the mod.   Thanks. 

SMFHacks.com Team

First you should install it using the package manager if possible that will set it all up for you.
Disclaimer: SMFHacks.com Team is not affiliated with the SMF Team or the SimpleMachines NPO.
SMFHacks.com -  Paid Modifications for SMF
Latest Mods:
Community Suite
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

elyparker

hi, i have a problem when in the feed there are break line before of descriprition the body of post is null for example:

this http://www.paraparlando.com/canicattini_bagni/ultima_seduta_della_legislatura_per_il_consiglio_comunale_approvato_il_rendiconto_2011_e_letta_la_relazione_del_sindaco_paolo_amenta_3515.0.html [nofollow] is the result of this feed:

http://www.comunedicanicattinibagni.it/web/feed/rss.html [nofollow]

i lost the images and body of feed why? how i can solve the problem please

Fabiolas


elyparker

is the the blank description

it doesn't post the descrition field of item generally, sometime it does ma generally not
why?

vbgamer45

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: