RSS Import Feed - Feed Frequency Not working

Register an Account
Pligg Chat Room
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-14-2008, 02:33 PM
New Pligger
 
Join Date: Feb 2008
Posts: 3
I am using RSS Import Module in my Pligg Installation 9.9.0
I have set the feed to be imported every 12 hours. But the feed is not been imported automatically until & unless I login as a god user & click the import feeds button.

Can anyone help me setting up the feed to be imported automatically without logging in & clicking the button.

Below are the feed configuration for reference

Code:
- Feed Frequency (hours): 12 -- how often to check for new items.

- Feed Order: 1 -- Do we start with the last items first? 0 = no, 1 = yes

- Feed Random Votes: 1 -- Do we use a random number of votes? 0 = no, 1 = yes

- Feed Votes (if not random): 1 -- how many votes new items recieve (limit 200)

- Feed Votes Minimum (if random): 1 -- how many votes new items recieve (limit 200)
- Feed Votes Maximum (if random): 4 -- how many votes new items recieve (limit 200)

- Feed Items Limit: 3 -- how many new items to take from the feed when it's checked
- Feed URL Dupes: 0 -- Allow duplicate URL's 0=No, 1=Yes, Allow
- Feed Title Dupes: 0 -- Allow duplicate Title's 0=No, 1=Yes, Allow
- Feed Submitter Id (number): 3 -- The ID of the person who will be listed as the submitter
- Feed Category Id (number): 2 -- The ID of the category to place these items into

-- feed field name: title --- pligg field name: link_title --- Remove this link
-- feed field name: feedburner : origlink --- pligg field name: link_url --- Remove this link
-- feed field name: atom_content --- pligg field name: link_content --- Remove this link.
PLEASE HELP!
Reply With Quote
  #2 (permalink)  
Old 03-13-2008, 06:50 PM
New Pligger
 
Join Date: Jan 2008
Posts: 29
Same as above...also
In regards to Feed Order does "last item" mean oldest or does it mean the newest item in the feed? I want the most recent item to be posted that comes through the feed to be at the top. Since that is the case do I need a 0 or a 1 in that spot?

When I put the upcoming in feedburn the newest feed is on the bottom and the oldest is on top.

Thanks for any suggestions.
Reply With Quote
  #3 (permalink)  
Old 03-14-2008, 08:39 PM
Casual Pligger
 
Join Date: Oct 2007
Posts: 38
Quote:
Originally Posted by ant560 View Post
I am using RSS Import Module in my Pligg Installation 9.9.0
I have set the feed to be imported every 12 hours. But the feed is not been imported automatically until & unless I login as a god user & click the import feeds button.

Can anyone help me setting up the feed to be imported automatically without logging in & clicking the button.

Below are the feed configuration for reference

Code:
- Feed Frequency (hours): 12 -- how often to check for new items.

- Feed Order: 1 -- Do we start with the last items first? 0 = no, 1 = yes

- Feed Random Votes: 1 -- Do we use a random number of votes? 0 = no, 1 = yes

- Feed Votes (if not random): 1 -- how many votes new items recieve (limit 200)

- Feed Votes Minimum (if random): 1 -- how many votes new items recieve (limit 200)
- Feed Votes Maximum (if random): 4 -- how many votes new items recieve (limit 200)

- Feed Items Limit: 3 -- how many new items to take from the feed when it's checked
- Feed URL Dupes: 0 -- Allow duplicate URL's 0=No, 1=Yes, Allow
- Feed Title Dupes: 0 -- Allow duplicate Title's 0=No, 1=Yes, Allow
- Feed Submitter Id (number): 3 -- The ID of the person who will be listed as the submitter
- Feed Category Id (number): 2 -- The ID of the category to place these items into

-- feed field name: title --- pligg field name: link_title --- Remove this link
-- feed field name: feedburner : origlink --- pligg field name: link_url --- Remove this link
-- feed field name: atom_content --- pligg field name: link_content --- Remove this link.
PLEASE HELP!
Did you set up a cron job to run the import script? Thats the only way it will run at specific time intervals.
Reply With Quote
  #4 (permalink)  
Old 03-15-2008, 12:05 AM
New Pligger
 
Join Date: Jan 2008
Posts: 29
Thanks for the reply...I am missing the cron job. But when I try to added it


/usr/bin/php -q /home/xxxx/public_html/modules/rss_import/import.php>

I am getting an error
/bin/sh: -c: line 0: syntax error near unexpected token `newline'
/bin/sh: -c: line 0: `/usr/bin/php -q /home/xxxxx/public_html/modules/rss_import/import.php>'


try without the >
/home/xxxxx/public_html/modules/rss_import/import.php

Error
<b>Warning</b>: main(Smarty.class.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in <b>/public_html/modules/rss_import/import.php</b> on line <b>7</b><br />
<br />
<b>Warning</b>: main() [<a href='function.include'>function.include</a>]: Failed opening 'Smarty.class.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in <b>/home/xxxx/public_html/modules/rss_import/import.php</b> on line <b>7</b><br />
<br />
<b>Fatal error</b>: Cannot instantiate non-existent class: smarty in <b>/home/xxxx/public_html/modules/rss_import/import.php</b> on line <b>8</b><br />


any suggestions?

------- V 9.9
Update: Now working - here is what I did.

In your cpanel
Command to run:
/usr/bin/GET http://www.yourdomain.com/Directory-Folder/import.php


Now you need to your goto
>>modules>>rss_import/ folder and copy the import.php file to your root directory

Hope it helps


Thanks again

Last edited by nates; 03-15-2008 at 02:46 AM.
Reply With Quote
  #5 (permalink)  
Old 03-15-2008, 04:31 AM
bhatiacane's Avatar
Constant Pligger
Pligg Version: 1.0.1
Pligg Template: wistie
 
Join Date: Jul 2007
Location: Country : INDIA, State : Uttar Pradesh, City : Bareilly
Posts: 119
Send a message via Yahoo to bhatiacane Send a message via Skype™ to bhatiacane
Read : http://forums.pligg.com/pligg-mods/1...ble-pligg.html

"Dollars5" Comments in my thread : There is no way a file can automatically run itself - unless you explicitly call it or call via cron job.

If you donot want/ donot have a cron setup at your server - use a site that offers free cron job scheduling for you (a simple google search will get you many) or better switch to a host who offers cron - that is lot better


Quote:
Originally Posted by ant560 View Post
I am using RSS Import Module in my Pligg Installation 9.9.0
I have set the feed to be imported every 12 hours. But the feed is not been imported automatically until & unless I login as a god user & click the import feeds button.

Can anyone help me setting up the feed to be imported automatically without logging in & clicking the button.

Below are the feed configuration for reference

Code:
- Feed Frequency (hours): 12 -- how often to check for new items.

- Feed Order: 1 -- Do we start with the last items first? 0 = no, 1 = yes

- Feed Random Votes: 1 -- Do we use a random number of votes? 0 = no, 1 = yes

- Feed Votes (if not random): 1 -- how many votes new items recieve (limit 200)

- Feed Votes Minimum (if random): 1 -- how many votes new items recieve (limit 200)
- Feed Votes Maximum (if random): 4 -- how many votes new items recieve (limit 200)

- Feed Items Limit: 3 -- how many new items to take from the feed when it's checked
- Feed URL Dupes: 0 -- Allow duplicate URL's 0=No, 1=Yes, Allow
- Feed Title Dupes: 0 -- Allow duplicate Title's 0=No, 1=Yes, Allow
- Feed Submitter Id (number): 3 -- The ID of the person who will be listed as the submitter
- Feed Category Id (number): 2 -- The ID of the category to place these items into

-- feed field name: title --- pligg field name: link_title --- Remove this link
-- feed field name: feedburner : origlink --- pligg field name: link_url --- Remove this link
-- feed field name: atom_content --- pligg field name: link_content --- Remove this link.
PLEASE HELP!
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
rss import - image in homepage stark Questions and Comments 4 02-09-2010 07:54 AM
Feed Frequency is not working fxnews Questions and Comments 2 06-21-2007 01:30 AM
Importing old RSS feed from db not working. SoapTaco Questions and Comments 3 06-02-2007 04:02 PM
RSS Import Issue? envieme Questions and Comments 0 03-07-2007 08:05 AM
RSS Import issue with Dapper feeds envieme Questions and Comments 0 03-06-2007 12:54 PM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development