Follow SMF on Twitter.
Started by SMFHacks.com Team, January 11, 2007, 07:46:04 PM
Quote from: nadglobtrotter on November 23, 2007, 09:43:23 AMHello,First of all, many thanks to vbgamer45 for his work on this mod, which is really great! Thanks also to all of you who are helping here, it is much needed!I've installed the mod on my site, and had some troubles to make it work properly, so I read through ALL the posts in this thread.... .... (yes I know I must be crazy) and I've noticed that a lot of people are asking the same questions over and over again. Which, in my experience, means that the information they are asking for is not easily available to them. So I propose to put here below a summary of the responses for the main questions about RSS Feed Poster. Please correct me if you see mistakes in this text (I am not very technical, I'm just trying to put here what I've understood of all the conversations). What RSS Feed Poster mod does: The mod gets news/posts from a web feed (definition on wikipedia : http://en.wikipedia.org/wiki/Web_feed) and adds each of them to a new thread in the forum of your choice on your SMF install. It uses a cron job to update the forum by adding any new news/posts from the feed into new threads. Requirements:RSS Feed Poster requires "fsockopen" php function to be enabled. There is no way around this. Checking your feed urlBefore posting error messages, check that the feed url you want to use is valid at http://www.feedvalidator.org/ for example. For non-English forums:Get the Feed Poster configuration link in your menu: if you don't use English in your forum, when you first install RSS Feed Poster, the link to the config page does'nt appear. Instead you have a blank line. To fix this, copy the content:// Begin RSS FeedPoster Text Strings$txt['smfrssposter_admin'] = 'Feed Poster Configuration';// END RSS FeedPosterfrom the file Themes/default/languages/Modifications.english.php into Modifications.yourlanguage.php (even if you don't use the default theme).Special non-utf-8 characters in feeds: If your feed is not encoded in utf-8, special characters (accents, cedille etc.) won't show at all and will even block the rest of the post/news to be retrieved. To fix that, you need either to make sure your feed is encoded in utf8, or to convert the text from your feed into utf-8.To convert, you need to modify file Sources/subs-RSS.php as described by vipmoney in post #510 (use of library iconv):www.simplemachines.org/community/index.php?topic=141776.msg1209771#msg1209771or you can use the hack written by tsmalmbe in post #575 (use of function mb_convert_encoding): www.simplemachines.org/community/index.php?topic=141776.msg1263143#msg1263143(even though personally none worked for me, apparently my server doesn't know neither iconv or mb_convert_encoding )Translate the configuration page of RSS Feed Poster: create a duplicate of file Theme/default/languages/FeedPoster.english.php, call it FeedPoster.yourlanguage.php and translate the chains in it. About Cron jobsBeginners read TrueSatan advice : www.simplemachines.org/community/index.php?topic=141776.msg1194863#msg1194863In RSS Feed Poster, Real cron jobs seem to be highly preferable than Fake cron jobs, which can potentially slow down your website and impose a high load on your server. So use it only in last resort.What's the difference between Real cron job and Fake cron job?- Real cron jobs calls a script to run automatically every xx minutes in order to update your RSS feed.- Fake cron jobs launch the update only each time the page is loaded. Read also:Problems with PHP 5.2 : www.simplemachines.org/community/index.php?topic=141776.msg1136045#msg1136045
Quote from: detoam on January 21, 2008, 02:19:44 AMNow that I deleted the MySQL table for it. I can't login
Quote from: Psyche on January 18, 2008, 07:22:03 PMMost of the feeds I have subscribed on my site have stuff like tables, YouTube videos, etc... How can I somehow surround the post with [ html ] tags?
Quote from: TrueSatan on January 26, 2008, 08:35:09 AMAssuming you've checked your cron job and its settings are correct I'd try deleting it and then creating a new cron job.