Advertisement:

Author Topic: RSS Feeder  (Read 375310 times)

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 #420 on: May 04, 2009, 03:30:49 PM »
For the 'Source' bit, I don't think I was thinking and hardcoded the string in there when I was testing and forgot to change it... it's in ScheduledTasks.php

As for the date format, in order to normalize any possible feed, SimplePie reformats the date, so I just spit out how it reformatted it... I suppose I could change it to use the forum's default time conversion function.

As for the regular expression, there is a small tutorial in this topic that is linked in the first post of the topic that I'd suggest reading first... no sense in reiterating all the same stuff.  If you have questions after that, feel free to ask.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Offline Owdy

  • SMF Fossil
  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,641
  • Gender: Male
  • W00t!
    • janoloferiksson on LinkedIn
    • @jaoler on Twitter
Re: RSS Feeder
« Reply #421 on: May 05, 2009, 06:38:57 AM »
Any idea why this isnt working urls like this?
http://www.helistin.fi/rss/
http://www.tohtori.fi/rss/
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

Offline Sudhakar Arjunan

  • Sophist Member
  • *****
  • Posts: 1,253
  • Gender: Male
  • SMF is the best forum tool
    • IT Acumens - Webdesigning & Webhositing services in Chennai
Re: RSS Feeder
« Reply #422 on: May 05, 2009, 01:52:05 PM »
I have two smf forums of same 2.0. RC1 version.

If i need to update one board in one forum.

And the second forum need to grab the post in the other forums board of smf.

Then what is the Relative full path or Regular Expression i have to use.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

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 #423 on: May 05, 2009, 03:28:52 PM »
Any idea why this isnt working urls like this?
http://www.helistin.fi/rss/
http://www.tohtori.fi/rss/
Any errors in the error log?

I have two smf forums of same 2.0. RC1 version.

If i need to update one board in one forum.

And the second forum need to grab the post in the other forums board of smf.

Then what is the Relative full path or Regular Expression i have to use.
I'm afraid there is no easy way to do that that I can think of.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Offline Owdy

  • SMF Fossil
  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,641
  • Gender: Male
  • W00t!
    • janoloferiksson on LinkedIn
    • @jaoler on Twitter
Re: RSS Feeder
« Reply #424 on: May 05, 2009, 03:33:09 PM »
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

Offline Sudhakar Arjunan

  • Sophist Member
  • *****
  • Posts: 1,253
  • Gender: Male
  • SMF is the best forum tool
    • IT Acumens - Webdesigning & Webhositing services in Chennai
Re: RSS Feeder
« Reply #425 on: May 06, 2009, 05:46:51 AM »
I'm afraid there is no easy way to do that that I can think of.

Its possible. Both the sites were my own.

So i could do it, kindly give me out the relative path for getting full content from smf 2.0 rc1 forum.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Offline ostin

  • Semi-Newbie
  • *
  • Posts: 16
Re: RSS Feeder
« Reply #426 on: May 06, 2009, 01:52:12 PM »
I suggest you to use UserID when selecting user than will post news. I got board with non-latin letters in usernames and so i can't use them.

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 #427 on: May 06, 2009, 04:24:51 PM »
It should work fine with UTF-8, what was going wrong when you tried?

A.SK - It's not a matter of where the sites are located... I can't find a good regex that will accomplish what you need.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Offline daveaite

  • Semi-Newbie
  • *
  • Posts: 88
    • The BuyPoe Network
Re: RSS Feeder
« Reply #428 on: May 06, 2009, 06:59:42 PM »
I'm having the exact same problem as chefjohnnie.

Was there a solution for this?
The BuyPoe Network!


http://vBSocial.com: Forum Styles for vBulletin and SMF

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 #429 on: May 06, 2009, 07:06:58 PM »
If that didn't work, you can try using the file_check.php file attached to this post and see if you can figure out where the extraneous code is... http://www.simplemachines.org/community/index.php?topic=300626.msg1989826#msg1989826
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Offline ostin

  • Semi-Newbie
  • *
  • Posts: 16
Re: RSS Feeder
« Reply #430 on: May 06, 2009, 07:58:43 PM »
It should work fine with UTF-8, what was going wrong when you tried?
I just couldn't get name to be understood by the feeder. It showed me that name has to be filled in. When I renamed account into latin letter everything worked.

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 #431 on: May 06, 2009, 09:11:01 PM »
Can you PM me the name if you don't want to post it here so I can test with it?
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Offline ostin

  • Semi-Newbie
  • *
  • Posts: 16
Re: RSS Feeder
« Reply #432 on: May 07, 2009, 05:31:37 AM »
I tried several names in russian, f.e. "помошник" or "бот"

Offline JamesD01

  • Semi-Newbie
  • *
  • Posts: 72
  • Gender: Male
Re: RSS Feeder
« Reply #433 on: May 07, 2009, 05:43:25 PM »
I don't understand the regex bit, could someone please provide a breif description?
I don't know php, maybe that's why..
Best regards,
James

Offline daveaite

  • Semi-Newbie
  • *
  • Posts: 88
    • The BuyPoe Network
Re: RSS Feeder
« Reply #434 on: May 07, 2009, 06:19:10 PM »
Hey guys....

I still don' t understand the regular expressions after doing a few tutorials. I tried my own regular expressions for yahoo's RSS feeds and they seemed to have no effect. The same thing was still being published.

Anyways. I was hoping someone could create a regular expression for yahoo's RSS articles. I will be forever grateful!!

http://news.yahoo.com/rss;_ylt=AmZWmT9KLlRhdmZ6QtHvlxCs0NUE;_ylu=X3oDMTBsa3NwcDZrBHBvcwMxNQRzZWMDYm4Ec2xrA3Jzcw--
The BuyPoe Network!


http://vBSocial.com: Forum Styles for vBulletin and SMF

Offline Sudhakar Arjunan

  • Sophist Member
  • *****
  • Posts: 1,253
  • Gender: Male
  • SMF is the best forum tool
    • IT Acumens - Webdesigning & Webhositing services in Chennai
Re: RSS Feeder
« Reply #435 on: May 08, 2009, 07:55:34 AM »
A.SK - It's not a matter of where the sites are located... I can't find a good regex that will accomplish what you need.

Thank you. but as i understood. Regular expression could be easily learned from all websites.

Why could not we get any regular expression for smf alone. More or less ok, even if does not work properly.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Offline Eclipse16V

  • Sophist Member
  • *****
  • Posts: 1,070
  • Gender: Male
  • Tornado Map
    • Eclipse16V on Facebook
    • @Eclipse16V on Twitter
    • SID Giessen
Re: RSS Feeder
« Reply #436 on: May 11, 2009, 12:52:23 AM »
Hello, only once thanks Mod for this super. Runs with me in 2.0 RC1 without problems. I have times one only ask now. How can I make it that the RSS news those than 7 days am older, automatically to be deleted? Is there there in the Mod already a function which I unfortunately yet did not find or there is another possibility? Thanks
I worked with:
SMF 2 in German

Shop:
SID Giessen

Offline Underfunded

  • Semi-Newbie
  • *
  • Posts: 11
Re: RSS Feeder
« Reply #437 on: May 11, 2009, 04:43:21 PM »
The auto-install from within SMF is not creating the tables in the MYSQL DB. I tried running the add_settings.php manually from the forum directory and it did not work so I copied all the files to the root of the forum directory and it still will not create the database tables.

Any suggestions?

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 #438 on: May 11, 2009, 07:43:11 PM »
Do you get any errors?
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Offline Underfunded

  • Semi-Newbie
  • *
  • Posts: 11
Re: RSS Feeder
« Reply #439 on: May 11, 2009, 11:43:31 PM »
I do not get any errors on the installation of the Mod.  When I try to go to the mods config page I get
Quote
Table 'smf2.smf_rssfeeds' doesn't exist
File: C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\smf2\Sources\ManageSettings.php
Line: 2420

Where the database is smf2 and that is the proper path to the file.