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

imrich

I saw the new version for SMF RC2, thanks!

But there is a bug in your 1.1.3 install for me.


5. Execute Modification ./Sources/Subs-Editor.php Test failed
  1. Replace ./Sources/Subs-Editor.php Test failed


It looks like the function being searched for in Subs-Editor.php can't be found. It's searching for this:

function sort_array_length($a, $b)
{
return strlen($a) < strlen($b) ? 1 : -1;
}


But the code after an upgrade in Subs-Editor.php looks like this (notice the missing whitespace in front of the code


function sort_array_length($a, $b)
{
return strlen($a) < strlen($b) ? 1 : -1;
}



SlammedDime

Thanks, I'll fix that and upload a new package.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

SlammedDime

I've updated the mod package - you can simply ignore that edit.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

imrich

Thanks for the quick response!

I downloaded and installed your new package. It seems to be working and installed without an error on RC2.

Note: A cosmetic issue: your file name implies that this is version 1.1.4, but it still displays in the package manager as 1.1.3. ;)

Thanks again!



SlammedDime

hrm... I updated the package-info.xml file... Looks like I forgot to update it in the ZIP file... thanks :)
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

imrich

Quote from: SlammedDime on November 12, 2009, 05:32:25 PM
hrm... I updated the package-info.xml file... Looks like I forgot to update it in the ZIP file... thanks :)

I've done that myself! Thanks again!

lelkins

I have installed in on a fresh RC2 install and setup a feed but nothing seems to happen.
How do I get it to run?

SlammedDime

it runs automatically... you can edit the frequency in the Scheduled Tasks panel in your admin Panel.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

whitehaint

Awesome mod and works great on RC2!

slayer143

Images are not extracted from the external feeds
just text and links

Anyway to extract the images too ?

SlammedDime

Hrm... they should be... I'll have to investigate that a bit further.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

slayer143

nope
your older version was able
but the latest one for RC2 unable to extract the images ..
for example
try this
movies-comics-anime . blogspot . com


Jerry

Does seem a bit odd, mine is getting images just fine O.o http://www.solarianorder.org/smf/index.php?topic=22.0 for example. Maybe its the way the feed is coding it? idk


- Jerry
Find me on:
Facebook
Twitter
PlanetSMF

"If all you look for is the negative in things, you will never see the positive."

slayer143

That's odd

What is your setting for the
RSS feed?
Did you use any expression?

I am using RC2 too and feeder ver 1.4

slayer143

SlammedDime , Have you checked?
Jerry , which version of RSS feeder you are using? if this version , what are the expression you are using to parse the feeds to grab the <img> and image: tags from RSS ?

Jerry

@slayer143, I am using 1.1.4 which I think is the most current? I also have the settings to default.


- Jerry
Find me on:
Facebook
Twitter
PlanetSMF

"If all you look for is the negative in things, you will never see the positive."

slayer143

Yes that is the current one Jerry
But i am not getting the images
I have another board which uses 10.0 and using the older feed poster and it grabs

and this board using both the latest is not grabbing the same feed

and in Vbulletin, needless to say, it grabs gr8


Can you try the above example feed and let me know if it grabs?


SlammedDime

I'll bet its because of the extensive markup in the <img /> tag that SMF's html_to_bbc parser doesn't like.  I don't like coding for special cases, I like to keep things more modular, but I'll look into combining some of the ideas of previous versions of this mod with the newest version.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

slayer143

It will be great is you use the same type like the previous version. It helps alot in grabbing lots of feeds

DirtRider

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
http://www.triumphtalk.com

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

Advertisement: