News:

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

Main Menu

RSS Feeder

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

Previous topic - Next topic

DirtRider

Quote from: DirtRider on November 19, 2009, 04:02:10 AM
Here is my feed http://news.google.co.za/news?pz=1&cf=all&ned=en_za&hl=en&q=Triumph+Thunderbird+1600&cf=all&output=rss Have a look how it post it on my test forum.http://rc2.triumphtalk.com/index.php?topic=34.0;topicseen Not very neat with the different code in the post. Anything I can do about this

Another thing I have just noticed is when you click on any of the links in the post you get the following page and message

The previous page is sending you to http://www.dnaindia.com/entertainment/report_marlon-brando-s-estate-administrators-lands-motorbike-gear-deal_1311226.

If you do not want to visit that page, you can return to the previous page.

Check out this topic posted by RSS http://rc2.triumphtalk.com/index.php?topic=52.0;topicseen
http://www.triumphtalk.com

"The real question is not whether machines think but whether men do. "

DirtRider

Quote from: DirtRider on November 19, 2009, 07:46:13 AM
Quote from: DirtRider on November 19, 2009, 04:02:10 AM
Here is my feed http://news.google.co.za/news?pz=1&cf=all&ned=en_za&hl=en&q=Triumph+Thunderbird+1600&cf=all&output=rss Have a look how it post it on my test forum.http://rc2.triumphtalk.com/index.php?topic=34.0;topicseen Not very neat with the different code in the post. Anything I can do about this

Another thing I have just noticed is when you click on any of the links in the post you get the following page and message

The previous page is sending you to http://www.dnaindia.com/entertainment/report_marlon-brando-s-estate-administrators-lands-motorbike-gear-deal_1311226.

If you do not want to visit that page, you can return to the previous page.

Check out this topic posted by RSS http://rc2.triumphtalk.com/index.php?topic=52.0;topicseen

I have now also tried using Feedburner  but still have the same problem. Here is my feedburner link http://feeds.feedburner.com/BritishMotorcycle-GoogleNews
http://www.triumphtalk.com

"The real question is not whether machines think but whether men do. "

SlammedDime

Sounds like SMF's html_to_bbc parser still has lots of bugs that need to be worked out, which is a small shame... I may have to either create my own or incorporate someone else's that has more testing.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

DirtRider

I don't know if this helps at all but the feed that I asked you about some time back that would not work now works 100%. Check it out here http://rc2.triumphtalk.com/index.php?topic=2.0

The feed is this one http://feed43.com/7878018404721735.xml
http://www.triumphtalk.com

"The real question is not whether machines think but whether men do. "

darkhavoc

Is it possible to get a copy of the sql file?  For some reason it doesn't make the tables.

Also the one that is available for download is just for 2.0 RC2

I am trying to use it on 2.0 RC1.2

Thanks

PalmBeachPreps

#825
I'm now getting this error message: The database value you're trying to insert does not exist: is_ratings  Everything was working well until I attempted to run Scheduled Tasks after I noticed that feeds were not being posted.

NM, uninstalled the problem mod.  Feeds are fine again!  ;D

UndergroundChic

How would I go about trying to get the version of this mod compatible with SMF 2.0 RC1.2? This is the version that I use and I don't want to update again until the final version. The last update I did messed up several mods and I finally have everything how I want it except this mod. I've looked all over for the previous version of this and haven't had any success. Can somebody please send me a link? I've spent all day on trying to get this or the other RSS mod to work on my forum but it has all been a dismal failure. I would be very grateful.

falken

I want to mark the RSS topic as read, i mean when you click on show new post since last visit i don't want to see the RSS new post, it's posible??

Thanks and sorry for my english!  :-[

c5Quad

Quick question about the keyword search.  What exactly does it search? Just the title of the article and/or the short description.  And if you are grabbing the entire article, does it search that?

Thanks in advance.

SlammedDime

it searches only the title and short description.  If you choose to retreive the full article, it will only grab it if the title or short description contain it.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

SlammedDime

falken - unfortunately that is not possible to do.

Undergroundchic - You could modify the add_settings.php script and remove {db_prefix} anywhere in the file, then modify package-info.xml and change the 'install for' line to 2.0 RC1.2.  I would recommend upgrading SMF though.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

c5Quad

Quote from: SlammedDime on November 27, 2009, 06:42:07 PM
it searches only the title and short description.  If you choose to retreive the full article, it will only grab it if the title or short description contain it.

Thanks, that's what I needed to know.  Its no big deal, but is there anyway you could code it to search the whole article?

Nice Mod, appreciate all your effort.

SlammedDime

That could possibly create a lot more processing time, and I purposely didn't do it for that reason.  It *is* possible to do, I just don't recommend it.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

frymaster

any way to stop it importing old articles?
I want to start posting from a feed that currently has 50 entries, but I don't want those old entries to appear (it'd be a bit spammy)
i.e. I only want articles posted from now on

SlammedDime

sorry, currently no way to do that... easiest thing to do is to let it pull them all then delete what u don't need
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

hartiberlin

Hi,
what does this regex.php exactly do ?

I only get 2 form boxes one with:
Regex: 

and the other with:
Body: 

I thought this php file would
automatically extract the
regex code from a RSS feed webpage ?

Why is it all so complicated to extract a full article ?

Can somebody please explain it all again,
how to extract for instance
the text of a youtube video list :

http://gdata.youtube.com/feeds/base/videos?q=hho&client=ytapi-youtube-search&alt=rss&v=2


or of a single video of it ?

Also can I get also the video from it via AEVO Mod ?

So how can we extract easily the full article with this
regex.php thing ?

Please explain it in more detail.

P.S.Is it also possible to extract Flickr.com or other RSS gallery enabled websites pictures with caption
texts via this RSS Feeder and post it inside the forum automatically ?

SlammedDime

Did you read the small paragraph on the first post?  It explains what regex.php is for, as well as links to a tutorial...  Why is it so complicated?  Because not every website is the same... if it were, the internet would be pretty boring.

QuoteRegex Help
Attached to this post is a file named regex.php... you can upload this script to your web server to test out your regular expressions with a given input.  It's pretty self explanatory... the goal is end up with what you want in the [1] => part of the array returned.  For debugging purposes, the entire matches array is displayed.  See this post of the topic as well.
:bolding mine:
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

hartiberlin

Yes, but what do I fill in into that ?

http://travelhotelscheap.com/regex.php

??

It is NOT  self explanatory..!

Do I have to manually look at the RSS Feed HTML Code and
extract things ?

What do I put into the body  form and what will the submit result ?

hartiberlin

Quote from: SlammedDime on December 01, 2009, 08:37:21 PM
See this post of the topic as well.


Well, this does not explain,what must be put exactly into
the 2 forms of the regex.php

and what will be the output if you press submit..

hartiberlin

Is only the [1] => part of the array then displayed as the extracted article ?

What about the [0] => part of the array ?
In you example this was also the output of the regex.php !

Advertisement: