[RC][1.1.0-r2] FIND

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Suggested Hosts
User avatar
JasonD2
Registered User
Posts: 10
Joined: Thu Dec 03, 2009 10:01 pm
Location: Brisbane QLD
Name: Jason Dawson
Contact:

Re: [DEV] RSS Input

Post by JasonD2 » Fri Dec 04, 2009 9:34 am

No that section only allows me to alter user permissions

any ideas?
Australian Financial Planning phpBB
JDFP Note Pad

User avatar
JasonD2
Registered User
Posts: 10
Joined: Thu Dec 03, 2009 10:01 pm
Location: Brisbane QLD
Name: Jason Dawson
Contact:

Re: [DEV] RSS Input

Post by JasonD2 » Fri Dec 04, 2009 9:41 am

Ok now i am cooking on gas

Found a section that allows me to select the database and has an option for manually creating a new table!!!!!

Could you tell me how many fields there is? can i assume there is 15 fields one for each line in the code???

CREATE TABLE phpbb_xmlfeeds (
feed_id mediumint(8) UNSIGNED NOT NULL auto_increment,
feed_active tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
feed_name varchar(255) DEFAULT '' NOT NULL COLLATE utf8_unicode_ci,
feed_url varchar(255) DEFAULT '' NOT NULL,
feed_limit smallint(4) UNSIGNED DEFAULT '0' NOT NULL,
post_forum mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
post_limit smallint(4) UNSIGNED DEFAULT '0' NOT NULL,
feed_channel tinyint(1) UNSIGNED DEFAULT '1' NOT NULL,
feed_image tinyint(1) UNSIGNED DEFAULT '1' NOT NULL,
feed_contents tinyint(1) UNSIGNED DEFAULT '1' NOT NULL,
feed_recode varchar(32) DEFAULT '' NOT NULL,
robot_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
last_visit int(11) UNSIGNED DEFAULT '0' NOT NULL,
PRIMARY KEY (feed_id),
KEY post_forum (post_forum)
) CHARACTER SET `utf8` COLLATE `utf8_bin`;
Australian Financial Planning phpBB
JDFP Note Pad

User avatar
JasonD2
Registered User
Posts: 10
Joined: Thu Dec 03, 2009 10:01 pm
Location: Brisbane QLD
Name: Jason Dawson
Contact:

Re: [DEV] RSS Input

Post by JasonD2 » Fri Dec 04, 2009 10:11 am

Ok

Done thanks for your help got the table working and the tab now works in the ACP

will try to add a feed now

Thanks again
Australian Financial Planning phpBB
JDFP Note Pad

User avatar
JasonD2
Registered User
Posts: 10
Joined: Thu Dec 03, 2009 10:01 pm
Location: Brisbane QLD
Name: Jason Dawson
Contact:

Re: [DEV] RSS Input

Post by JasonD2 » Fri Dec 04, 2009 10:15 am

Sigh

Another problem, after entering the data and submitting



Warning

The requested user does not exist.


This message appears at the top
edit: BTW is does not allow me to select a "Select Post Bot"
Australian Financial Planning phpBB
JDFP Note Pad

plasmino
Registered User
Posts: 261
Joined: Sat Jul 25, 2009 11:12 am

Re: [DEV] RSS Input

Post by plasmino » Fri Dec 04, 2009 2:13 pm

wow this mod is very nice

User avatar
JasonD2
Registered User
Posts: 10
Joined: Thu Dec 03, 2009 10:01 pm
Location: Brisbane QLD
Name: Jason Dawson
Contact:

Re: [DEV] RSS Input

Post by JasonD2 » Fri Dec 04, 2009 7:10 pm

WOW its all working now... very nice job

I found another piece of code i missed before, works like a charm

Thanks for your help
Australian Financial Planning phpBB
JDFP Note Pad

artikkk
Registered User
Posts: 379
Joined: Sun Jan 04, 2009 1:37 pm
Location: Roma

Re: [DEV] RSS Input

Post by artikkk » Fri Dec 04, 2009 7:13 pm

Code: Select all

RSS fetch succefully: None.

RSS without updates: None.



RSS with error: [Ansa.it] Failed to fetch data from http://www.ansa.it/main/notizie/awnplus/calcio/synd/ansait_awnplus_calcio_medsynd_Today_Idx.xml
:|
sorry for my bad english :S

plasmino
Registered User
Posts: 261
Joined: Sat Jul 25, 2009 11:12 am

Re: [DEV] RSS Input

Post by plasmino » Sat Dec 05, 2009 11:08 am

Italian language

click for download

User avatar
PoPoutdoor
Registered User
Posts: 217
Joined: Fri Oct 31, 2008 2:58 pm
Contact:

Re: [DEV] RSS Input

Post by PoPoutdoor » Mon Dec 07, 2009 3:59 am

RSS with error: [Ansa.it] Failed to fetch data from http://www.ansa.it/main/notizie/awnplus ... ay_Idx.xml
This is an Atom feed, and the source doesn't have encoding info!

Note: Current code doesn't handle feed without encoding info. For those who found feed source not working, please check the feed source and post the url with the first line of source text here. If you're using Firefox, Ctrl-U will give the source in text.

artikkk
Registered User
Posts: 379
Joined: Sun Jan 04, 2009 1:37 pm
Location: Roma

Re: [DEV] RSS Input

Post by artikkk » Wed Dec 09, 2009 8:54 am

Code: Select all

RSS importato con successo: Nessuno.

RSS senza aggiornamenti: Nessuno.



RSS con errore: [Google.it] Failed to fetch data from http://news.google.com/news?ned=us&topic=h&output=rss
:cry:
sorry for my bad english :S

User avatar
PoPoutdoor
Registered User
Posts: 217
Joined: Fri Oct 31, 2008 2:58 pm
Contact:

Re: [DEV] RSS Input

Post by PoPoutdoor » Wed Dec 09, 2009 1:33 pm

Just found out the Google feeds isn't in XML format, I got html page with php url_fopen!

Test with curl in terminal, I got http 403 error response.
When open the link with web browser, internal redirects from Google gives out the XML contents.

Seems Google's feeds only support agents which supports javascript :evil:

speedywilly
Registered User
Posts: 1
Joined: Fri Dec 11, 2009 5:24 pm

Re: [DEV] RSS Input

Post by speedywilly » Fri Dec 11, 2009 5:30 pm

JasonD2 wrote:Sigh

Another problem, after entering the data and submitting

Warning

The requested user does not exist.


This message appears at the top
edit: BTW is does not allow me to select a "Select Post Bot"
I have the same problem, what is the solution for this problem?

thanks in forward.

Wilfred

User avatar
Hippie459MN
Registered User
Posts: 918
Joined: Mon Oct 15, 2007 10:13 pm
Location: Minnesota, USA
Contact:

Re: [DEV] RSS Input

Post by Hippie459MN » Sat Dec 12, 2009 1:55 am

Thanks. I will have to look into this. :)

User avatar
PoPoutdoor
Registered User
Posts: 217
Joined: Fri Oct 31, 2008 2:58 pm
Contact:

Re: [DEV] RSS Input

Post by PoPoutdoor » Sat Dec 12, 2009 3:26 am

speedywilly,

You have to create the Bot user first! Please red the DIY section of install.xml

User avatar
Hippie459MN
Registered User
Posts: 918
Joined: Mon Oct 15, 2007 10:13 pm
Location: Minnesota, USA
Contact:

Re: [DEV] RSS Input

Post by Hippie459MN » Sat Dec 12, 2009 4:48 am

PoPoutdoor wrote:speedywilly,

You have to create the Bot user first! Please red the DIY section of install.xml
Can the bot have any name or does it have to have '[RSS Bot]' in the user name?

Locked

Return to “[3.0.x] MODs in Development”