News:

Wondering if this will always be free?  See why free is better.

Main Menu

RSS Feeder

Started by SlammedDime, January 11, 2009, 06:06:42 AM

Previous topic - Next topic

frytec

nice job MrMike...
you getting there.

MrMike

Quote from: frytec on October 17, 2011, 12:26:39 PM
nice job MrMike...
you getting there.

As near as I can tell it's working properly: http://atheistroundtable.com/forum/

jwrona0001

I would like to modify my rss feed so that it only feeds new topics and not the replies to the topics.  Does this mod do that?
Also I'm running 2.0.1 and Im curious why this mod doesnt have a download link in the package manager?

MrMike

Quote from: jwrona0001 on October 29, 2011, 01:21:56 PMAlso I'm running 2.0.1 and Im curious why this mod doesnt have a download link in the package manager?

You may need to go into SMF's "emulation mode" to get the install link to appear.

luuuciano

Quote from: jwrona0001 on October 29, 2011, 01:21:56 PM
I would like to modify my rss feed so that it only feeds new topics and not the replies to the topics.  Does this mod do that?

No
http://www.simplemachines.org/community/index.php?topic=25009.0
No me agradan los foros que no te dejan borrar TU PROPIO usuario, como por ejemplo smfsimple.com.
E incluso te mandan emails no solicitados, de los cuales, quizá, no puedas escapar porque NO te dejan posibilidad a deshabilitarlos (a menos que NO te tengan en su lista negra).

Nola5712

My apologies if this has been answered already, but i've read through pages and pages of this thread and can't find an answer.

what i would like to do is put a module on my front page (sports forum) that will show tweets as they are tweeted by players, coaches, teams, league, etc...

i realize i'd probably have to create a twitter account for my forum and start following a thousand people, but i think it'd be a really cool idea, and my members would probably love it.

will this mod do that?  if not, can someone point me in the right direction of something that would?

thank you in advance and again, i'm sorry if this has been answered :)

Kindred

This mod imports rss feeds as messages in the forum.
It does not cover real time tweet updates and does not list me in a module of the front page... It imports the rss items as message threads...  Plus, I don't think twitter uses standard rss feeds...


So, basically, no... This mod is not what you are looking for.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

luuuciano

identi.ca have rss
Anyway, try looking http://www.google.com/search?q=twitter+rss you will find interesting things
No me agradan los foros que no te dejan borrar TU PROPIO usuario, como por ejemplo smfsimple.com.
E incluso te mandan emails no solicitados, de los cuales, quizá, no puedas escapar porque NO te dejan posibilidad a deshabilitarlos (a menos que NO te tengan en su lista negra).

Nola5712

thanks kindred and luuuciano for the info, i appreciate the responses :)

thanks for that google search luuuciano, i didn't even know what to search for (i was searching twitter module/widget for smf hah) so that helps more than you may think.  i'll see what i can dig up!

thanks again

Biology Forums


thecoo1est

Is there a way we can assign avatars to the different "user" s

Dickstar

Quote from: MrMike on October 13, 2011, 12:06:13 AM
Quote from: awolexpat on October 12, 2011, 09:40:15 PMAny chance you could post the edits made on here? I would like to try this out but am not able enough to work out what code needs altering. Thanks in advance.

Sure, here you go. I'm not 100% positive that both of these edits are required, I'm still doing testing but it seems to be working for me. Let me know how it goes.

In "Sources/Subs-Editor.php", find this code:
// The harder one - wysiwyg to BBC!
function html_to_bbc($text)
{
    global $modSettings, $smcFunc, $sourcedir, $scripturl, $context;


Change it to this:
// The harder one - wysiwyg to BBC!
function html_to_bbc($text)
{
    global $modSettings, $smcFunc, $sourcedir, $scripturl, $context;

    // Replace any '[size=-x]' instances with with '[/size][size=x]' 
    $text = str_replace('[/size][size=-1]', '[/size]', $text);




In "Sources/Subs-Rss.php", find this code:
function striphtml($document)
{
    // Just in case there aren't breaks after a </p>...
    $document = str_replace(array('</p>', '<br />', '<br>',  '</div>'), array("</p>\r\n", "<br />\r\n", "<br>\r\n", "</div>\r\n"), $document);



Change it to this:
function striphtml($document)
{
    // Just in case there aren't breaks after a </p>...
    $document = str_replace(array('</p>', '<br />', '<br>',  '</div>', '', '[size=-2]'), array("</p>\r\n", "<br />\r\n", "<br>\r\n", "</div>\r\n", "", ""), $document);


I tried this and it looks like a great idea, but for some mysterious reason it doesn't help for me. I still get the [size=-1] thing everywhere.

Dickstar

The "Sources/Subs-Rss.php" edit was wrong. It should be like this. The posts look fine now.  ;D

In "Sources/Subs-Rss.php", find this code:

function striphtml($document)
{
    // Just in case there aren't breaks after a </p>...
    $document = str_replace(array('</p>', '<br />', '<br>',  '</div>'), array("</p>\r\n", "<br />\r\n", "<br>\r\n", "</div>\r\n"), $document);


And change it to this:

function striphtml($document)
{
    // Just in case there aren't breaks after a </p>...
    $document = str_replace(array('</p>', '<br />', '<br>',  '</div>', '', '[size=-1]'), array("</p>\r\n", "<br />\r\n", "<br>\r\n", "</div>\r\n", "", ""), $document);

medstorez

Hi,

I have installed this in my smf 2 beta, after i install it and it tries to redirect, i get this error:

Fatal error: Cannot redeclare modifyrssfeedsettings() (previously declared in /home/my2008/public_html/mytestforum/forum/Sources/ManageSettings.php:1982) in /home/my2008/public_html/mytestforum/forum/Sources/ManageSettings.php on line 2700

Any ideas would be greatly appreciated.

SMURF6060

I clearly  understand the fact the you need to edit the regex file so y our able to pull what ever data you need from the rss feed.
thats something i cant get my mind to understand on how to do it.


so far i have been successful with pulling full articles simply by finding the div and putting it into the expression

ie: ~<div class="article_content">(.*)<\/div>~siU

how can i incorporate this tag:  <meta property="og:url" content="http://www.youtube.com/watch?v=kttooVrewF8">

ive tried : ~<meta property="og:url" content="">(.*)<\/div>~siU  and that is not correct.

anyone have a fix?




OzzyMozzy

Sorry if this has already been asked before....

I have 4 different RSS feeds working and a couple of them stop working for no reason. I go into the control panel and find that they disable them selves, anyone know why this happens?

Kindred

I think that it auto disables the feed input if it receives some number of failures in a row...
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Topboyz

Please can you give me a correct regex to use for my forum. I want to pull feeds from hxxp:news.naij.com/rss/pda/all.rss [nonactive]

OzzyMozzy

Quote from: Kindred on September 20, 2012, 08:58:06 PM
I think that it auto disables the feed input if it receives some number of failures in a row...

Is there anything i can do to stop the failures?

Kindred

no
the failures are due to a problem with the feed itself
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: