• Welcome to Simple Machines Community Forum. Please login or sign up.
December 09, 2021, 12:51:14 AM

News:

Follow SMF on Twitter.


RSS Feeder

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

Previous topic - Next topic

Galaxy Computers

Ok, keep me updated.
Wade Morris
Amarillo, Texas

Morris Technologies Computer Support Forum

уιℓмαz

June 27, 2009, 06:21:05 PM #581 Last Edit: June 27, 2009, 06:55:54 PM by уιℓмαz
I did not changed anything but it is working now :)

(i only fixed some errors in the log.)

But it added all 50 topics at same time ??

Edit:
Oh i see its settings can change on Scheduled Tasks.

I think the problem is fixed.

SlammedDime

And I tested the mod on a clean install of RC1-1 and it worked flawlessly.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

canadiancray

Yeah it feeds the posts the first time no problem. If I add a new feed it will post everything from the new feed but after that no new posts a made.

SlammedDime

Quote from: canadiancray on June 27, 2009, 10:07:47 PM
Yeah it feeds the posts the first time no problem. If I add a new feed it will post everything from the new feed but after that no new posts a made.
And you have SMF 2.0RC1-1?  I looked breifly, but didn't see it, can you post the feed you're having an issue with?
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Galaxy Computers

I guess with mine I will have to delete the feeds and re-add them and see I can make it work again.
Wade Morris
Amarillo, Texas

Morris Technologies Computer Support Forum

Galaxy Computers

I have deleted the previouse addon of the feeder and re-add the feeder I am still unable to get it to work.
Wade Morris
Amarillo, Texas

Morris Technologies Computer Support Forum

Chit-Chat ChatterBox Boss

I am having a problem where I am using your code for 'Regular Expression' which is ~<div id="articlestory">(.*)<\/div>~siU but it stills keeps on showing only the description of the feed. It doesn't open the feed article and post the whole feed. Yes I have 'Retrieve Full Article' checked and the above code put in the 'Regular Expression'. How can I fix this?

After fixing the above how can I have the feed bring over links, pictures, and videos?
Chit-Chat ChatterBox

Our site is open to everyone. It is a resource for anyone and everyone to talk about anything and everything you could possibly think of. It's a great place to come and talk, ask questions, or just simply hang out. We offer many great features. All we ask is that you follow by the site rules. Hope to see you around!
www.chitchatchatterbox.com
Remember in the "Referral" box to put "Caleb" while registering.

SlammedDime

I'd need to see the feed to know if the regex you're using is correct for not...

As for what it brings over... at the moment, only images.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Chit-Chat ChatterBox Boss

July 03, 2009, 04:09:15 PM #589 Last Edit: July 03, 2009, 04:37:35 PM by Chit-Chat ChatterBox Boss
The feeds I been trying have been like 15 different ones all only bring the info not the whole story.

Here is one for instance that I been fighting with:
CNET   (there was a few on cnet like computer reviews and such)


Is there anywhere that I can look to get info on which regular expression I should be using for a particular site?
Chit-Chat ChatterBox

Our site is open to everyone. It is a resource for anyone and everyone to talk about anything and everything you could possibly think of. It's a great place to come and talk, ask questions, or just simply hang out. We offer many great features. All we ask is that you follow by the site rules. Hope to see you around!
www.chitchatchatterbox.com
Remember in the "Referral" box to put "Caleb" while registering.

SlammedDime

Did you read my regular expression tutorial?  You really won't find any information other than that, except for the generals of creating regular expressions.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Chit-Chat ChatterBox Boss

Yes I read your tutorial ... and used also the one that you use ~<div id="articlestory">(.*)<\/div>~siU and still none grab the full story.
Chit-Chat ChatterBox

Our site is open to everyone. It is a resource for anyone and everyone to talk about anything and everything you could possibly think of. It's a great place to come and talk, ask questions, or just simply hang out. We offer many great features. All we ask is that you follow by the site rules. Hope to see you around!
www.chitchatchatterbox.com
Remember in the "Referral" box to put "Caleb" while registering.

SlammedDime

You can't use the one I use... the purpose of the tutorial is to show you how to create one for your specific feed.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Chit-Chat ChatterBox Boss

Guess i am >>>> a moron  :P ...... I will try to reread the tut as i have 3 times maybe I can seem to make myself smarter ..... prob not  :P

One thing you said in it that I am curious on how to find its
QuoteIf you look at the HTML source for the feed, you'll find the article in the following HTML code...
How do I find the HTML source?
Chit-Chat ChatterBox

Our site is open to everyone. It is a resource for anyone and everyone to talk about anything and everything you could possibly think of. It's a great place to come and talk, ask questions, or just simply hang out. We offer many great features. All we ask is that you follow by the site rules. Hope to see you around!
www.chitchatchatterbox.com
Remember in the "Referral" box to put "Caleb" while registering.

mrtrc266

Quote from: Chit-Chat ChatterBox Boss on July 03, 2009, 09:30:11 PM
Guess i am >>>> a moron  :P ...... I will try to reread the tut as i have 3 times maybe I can seem to make myself smarter ..... prob not  :P

One thing you said in it that I am curious on how to find its
QuoteIf you look at the HTML source for the feed, you'll find the article in the following HTML code...
How do I find the HTML source?

When you are on the page of an aticle you want the feed from...Right Click/View Source....and search for the <div=??> above where the article/reivew starts. Whatever that DIV is replace it with the DIV used in the example that was provided in the Regular Expressions tutorial

EXAMPLE: Let's say you find a DIV that is says <div=mainstory>

Then use the following as the Regular Expression in the Mod Settings

~<div id="mainstory">(.*)</div>~siU

If you can't get it post the link of the RSS Feed you want and I'll take a look.

Chit-Chat ChatterBox Boss

Thanks  ;D Good job confusing yourself I will try it out and see if I didnt get confused  :P
Chit-Chat ChatterBox

Our site is open to everyone. It is a resource for anyone and everyone to talk about anything and everything you could possibly think of. It's a great place to come and talk, ask questions, or just simply hang out. We offer many great features. All we ask is that you follow by the site rules. Hope to see you around!
www.chitchatchatterbox.com
Remember in the "Referral" box to put "Caleb" while registering.

Chit-Chat ChatterBox Boss

I keep trying over and over .... the reg expression i get from the sources ... keep pulling either the discription or parts of what is in the topic ... not EVERYTHING. Maybe you guys can solve this one and show me how you found it.

Feed url for CNET Reviews (Computer Systems)
http://reviews.cnet.com/4924-3000_7-0.xml?orderBy=-7rvDte&7rType=70-80&maxhits=10&tag=rb_content;rb_mtx
Chit-Chat ChatterBox

Our site is open to everyone. It is a resource for anyone and everyone to talk about anything and everything you could possibly think of. It's a great place to come and talk, ask questions, or just simply hang out. We offer many great features. All we ask is that you follow by the site rules. Hope to see you around!
www.chitchatchatterbox.com
Remember in the "Referral" box to put "Caleb" while registering.

mrtrc266

Chit Chat, I messed around with this feed quite a bit and it seems it might be impossible to retrieve the full article. Like you said you can get the Product info, the gallery, the editors review etc but they are all broken up into seperate DIV's instead of a single DIV so it's only pulling one area.

Try finding a different feed source instead of CNET and see if you can find something that's wrapped up in 1 DIV.

Chit-Chat ChatterBox Boss

I will try thanks!
Chit-Chat ChatterBox

Our site is open to everyone. It is a resource for anyone and everyone to talk about anything and everything you could possibly think of. It's a great place to come and talk, ask questions, or just simply hang out. We offer many great features. All we ask is that you follow by the site rules. Hope to see you around!
www.chitchatchatterbox.com
Remember in the "Referral" box to put "Caleb" while registering.

nwobhm

Thanks for the great mod! Works fine on 2.0 RC1-1 :D

But I got a question.. Is there a way to prevent rss feeder posts to appear in the "recent posts" list?

Advertisement: