Advertisement:

Author Topic: RSS Feeder  (Read 375716 times)

Offline Galaxy Computers

  • Full Member
  • ***
  • Posts: 612
  • Gender: Male
    • mtechama on Facebook
    • @mtechama on Twitter
    • Morris Technologies
Re: RSS Feeder
« Reply #580 on: June 27, 2009, 05:57:32 PM »
Ok, keep me updated.

Offline уιℓмαz

  • Full Member
  • ***
  • Posts: 430
  • Gender: Male
    • TamForum.Net » Paylaşımın Tam Adresi
Re: RSS Feeder
« Reply #581 on: June 27, 2009, 06:21:05 PM »
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.
« Last Edit: June 27, 2009, 06:55:54 PM by уιℓмαz »

Offline SlammedDime

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,276
  • School of Air Ride
    • matt.zuba on Facebook
    • @mattzuba on Twitter
Re: RSS Feeder
« Reply #582 on: June 27, 2009, 07:52:45 PM »
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...
                     

Offline canadiancray

  • Semi-Newbie
  • *
  • Posts: 61
Re: RSS Feeder
« Reply #583 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.

Offline SlammedDime

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,276
  • School of Air Ride
    • matt.zuba on Facebook
    • @mattzuba on Twitter
Re: RSS Feeder
« Reply #584 on: June 27, 2009, 10:59:51 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...
                     

Offline Galaxy Computers

  • Full Member
  • ***
  • Posts: 612
  • Gender: Male
    • mtechama on Facebook
    • @mtechama on Twitter
    • Morris Technologies
Re: RSS Feeder
« Reply #585 on: June 27, 2009, 11:23:24 PM »
I guess with mine I will have to delete the feeds and re-add them and see I can make it work again.

Offline Galaxy Computers

  • Full Member
  • ***
  • Posts: 612
  • Gender: Male
    • mtechama on Facebook
    • @mtechama on Twitter
    • Morris Technologies
Re: RSS Feeder
« Reply #586 on: June 30, 2009, 03:33:26 PM »
I have deleted the previouse addon of the feeder and re-add the feeder I am still unable to get it to work.

Offline Chit-Chat ChatterBox Boss

  • Full Member
  • ***
  • Posts: 418
  • Gender: Male
  • I Have SMF 2.0 RC1-1, Default Theme
    • Chit-Chat ChatterBox
Re: RSS Feeder
« Reply #587 on: July 03, 2009, 12:12:38 AM »
I am having a problem where I am using your code for 'Regular Expression' which is
Code: [Select]
~<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.

Offline SlammedDime

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,276
  • School of Air Ride
    • matt.zuba on Facebook
    • @mattzuba on Twitter
Re: RSS Feeder
« Reply #588 on: July 03, 2009, 07:21:51 AM »
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...
                     

Offline Chit-Chat ChatterBox Boss

  • Full Member
  • ***
  • Posts: 418
  • Gender: Male
  • I Have SMF 2.0 RC1-1, Default Theme
    • Chit-Chat ChatterBox
Re: RSS Feeder
« Reply #589 on: July 03, 2009, 04:09:15 PM »
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?
« Last Edit: July 03, 2009, 04:37:35 PM by Chit-Chat ChatterBox Boss »
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.

Offline SlammedDime

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,276
  • School of Air Ride
    • matt.zuba on Facebook
    • @mattzuba on Twitter
Re: RSS Feeder
« Reply #590 on: July 03, 2009, 09:13:26 PM »
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...
                     

Offline Chit-Chat ChatterBox Boss

  • Full Member
  • ***
  • Posts: 418
  • Gender: Male
  • I Have SMF 2.0 RC1-1, Default Theme
    • Chit-Chat ChatterBox
Re: RSS Feeder
« Reply #591 on: July 03, 2009, 09:19:53 PM »
Yes I read your tutorial ... and used also the one that you use
Code: [Select]
~<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.

Offline SlammedDime

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,276
  • School of Air Ride
    • matt.zuba on Facebook
    • @mattzuba on Twitter
Re: RSS Feeder
« Reply #592 on: July 03, 2009, 09:20:16 PM »
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...
                     

Offline Chit-Chat ChatterBox Boss

  • Full Member
  • ***
  • Posts: 418
  • Gender: Male
  • I Have SMF 2.0 RC1-1, Default Theme
    • Chit-Chat ChatterBox
Re: RSS Feeder
« Reply #593 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
Quote
If 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.

Offline mrtrc266

  • SMF Hero
  • ******
  • Posts: 2,164
  • Gender: Male
    • Monsters Mansion
Re: RSS Feeder
« Reply #594 on: July 04, 2009, 01:56:50 AM »
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
Quote
If 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.

Offline Chit-Chat ChatterBox Boss

  • Full Member
  • ***
  • Posts: 418
  • Gender: Male
  • I Have SMF 2.0 RC1-1, Default Theme
    • Chit-Chat ChatterBox
Re: RSS Feeder
« Reply #595 on: July 04, 2009, 01:58:37 AM »
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.

Offline Chit-Chat ChatterBox Boss

  • Full Member
  • ***
  • Posts: 418
  • Gender: Male
  • I Have SMF 2.0 RC1-1, Default Theme
    • Chit-Chat ChatterBox
Re: RSS Feeder
« Reply #596 on: July 04, 2009, 03:58:46 AM »
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.

Offline mrtrc266

  • SMF Hero
  • ******
  • Posts: 2,164
  • Gender: Male
    • Monsters Mansion
Re: RSS Feeder
« Reply #597 on: July 05, 2009, 12:22:04 AM »
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.

Offline Chit-Chat ChatterBox Boss

  • Full Member
  • ***
  • Posts: 418
  • Gender: Male
  • I Have SMF 2.0 RC1-1, Default Theme
    • Chit-Chat ChatterBox
Re: RSS Feeder
« Reply #598 on: July 05, 2009, 12:37:41 AM »
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.

Offline nwobhm

  • Jr. Member
  • **
  • Posts: 197
  • Gender: Male
Re: RSS Feeder
« Reply #599 on: July 05, 2009, 11:16:13 AM »
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?