[Pligg 8.2.0] Submit a feed automatically : The recap

Register an Account
Closed Thread
 
Thread Tools Display Modes
  #51 (permalink)  
Old 07-26-2006, 01:02 AM
chuckroast's Avatar
Pligg Developer/Coder/Designer
Pligg Version: SVN
Pligg Template: Social Pro Kit
 
Join Date: Jun 2006
Posts: 5,448
This would be great Ash!
  #52 (permalink)  
Old 07-28-2006, 01:49 PM
stephencarr's Avatar
Casual Pligger
 
Join Date: Jul 2006
Location: UK
Posts: 68
Send a message via MSN to stephencarr Send a message via Skype™ to stephencarr
This would be a great way to kick-start pligg news sites and add a heap of seed stories. I ran a couple of WordPress sites which did the same thing, the main problem I ran into was some bad formatting, especially with image links being embedded with the content.

Whatever is done here will need to inspect each feed, make sure it is valid, strip out images and whatnot and maybe even truncate long entries. I think a pligg style site is best as a link source, not a source for editorial in itself, so we don't really want to publish full articles or completely duplicate content.

I don't know if smarty includes a library like Markdown for formatting and stripping plain text, it might be an idea to put all feed entries through Markdown or Textile before posting them. I am rambling now, look forward to this feature.
  #53 (permalink)  
Old 07-28-2006, 02:08 PM
AshDigg's Avatar
Mayor of PliggVille/Coder
 
Join Date: Dec 2005
Posts: 1,515
I need some beta testers, please PM me. Thanks!
  #54 (permalink)  
Old 07-28-2006, 03:07 PM
canadapc's Avatar
Casual Pligger
 
Join Date: Jul 2006
Location: Canada
Posts: 50
Here's what I do ...

I import about 40 feeds into a really cool program called Reblog ... I go over all the feeds and "publish" the ones I want to read later or reference later ... reblog makes it's own feed but keeps the reference to the original link ... actually if there are multiple links in the feed text you can choose any link for the story to point to ... you can edit the text as well.

Then I use the script in this thread and tell it to use my reblog feed.

I found out about Reblog on the Lifehacker site:

http://www.lifehacker.com/software/f...der-160825.php

He even has a video of it in action.

Works for me.

Randy
  #55 (permalink)  
Old 07-28-2006, 05:38 PM
AshDigg's Avatar
Mayor of PliggVille/Coder
 
Join Date: Dec 2005
Posts: 1,515
I created a little video to show what I have in mind for importing RSS feeds. It goes a little fast, sorry about that.

Also the link doesnt seem to work in FF for me, but works in IE6.

thanks
  #56 (permalink)  
Old 07-29-2006, 05:03 AM
stephencarr's Avatar
Casual Pligger
 
Join Date: Jul 2006
Location: UK
Posts: 68
Send a message via MSN to stephencarr Send a message via Skype™ to stephencarr
Looks really good Ash, I look forward to it being implemented. BTW, this direct link to the swf seems to work in FF: http://ashtest4.pligg.com/Test.swf

Last edited by stephencarr; 07-29-2006 at 02:35 PM.
  #57 (permalink)  
Old 07-31-2006, 04:05 PM
chuckroast's Avatar
Pligg Developer/Coder/Designer
Pligg Version: SVN
Pligg Template: Social Pro Kit
 
Join Date: Jun 2006
Posts: 5,448
Any other people testing this?
I thought I would throw this out and see if anyone can help. I'm testing the new code that Ash put together... LOOKS GREAT!

I've unpacked and installed the beta on a fresh domain and still can not get this working... installed in the root directory. no subdir

I installed the pligg version that came packed with this beta. Its running fine.
I injected the feeds SQL as instructed.

I navigate to list_feeds.php (Pligg RSS Import v1.0.1 Add a new feed) is visible.

Clicking on Add a new feed gives me

Warning: Cannot modify header information - headers already sent by (output started at /home/www/anydomain.com/rss/list_feeds.php:1) in /home/www/anydomain.com/rss/list_feeds.php on line 49

I know this can be caused by several things.. like a blank white space or an open tag somewhere.. But I cant seem to find anything wrong with Ash's code.

I also noticed in that package that /libs/SidebarStories.php needs to be renamed to /libs/sidebarstories.php otherwise you get an error.

Any feedback would be great.. I'd love to get this beta working...

Thanks
  #58 (permalink)  
Old 08-01-2006, 04:23 AM
stephencarr's Avatar
Casual Pligger
 
Join Date: Jul 2006
Location: UK
Posts: 68
Send a message via MSN to stephencarr Send a message via Skype™ to stephencarr
Quote:
Originally Posted by chuckroast
Any other people testing this?
...

Clicking on Add a new feed gives me

Warning: Cannot modify header information - headers already sent by (output started at /home/www/anydomain.com/rss/list_feeds.php:1) in /home/www/anydomain.com/rss/list_feeds.php on line 49

...
I have it installed and running, apart from downcasing SidebarStories.php I did not have to touch anything. I hate those kind of errors because they can be for lots of reasons, it might be your server being fussy, ftp not uploading it correctly or the way your editor wrote the file out. Here is an article that helped me out once on a WP install, although it seems you have checked most of this already: http://codex.wordpress.org/Answers-T...s_already_sent
  #59 (permalink)  
Old 08-01-2006, 09:59 PM
chuckroast's Avatar
Pligg Developer/Coder/Designer
Pligg Version: SVN
Pligg Template: Social Pro Kit
 
Join Date: Jun 2006
Posts: 5,448
stephencarr-

Thanks for your reply and tips

Lots of great info in that link for others that come across the same problem. Although mine was simply a corrupt download.
Ash sent me the update and its working well.. Real well..

I am blown away by this script, you have out done yourself Ash.

Thanks for the SWF ..... I would recomend adding the demo flash movie with this mod, it helped a lot.

This will make a great addition to the next version....
  #60 (permalink)  
Old 08-10-2006, 11:23 AM
New Pligger
 
Join Date: Jul 2006
Posts: 13
Ash, could you send me a copy of this code? I'll be happy to beta test if you still need someone.

I'm going to need to start coding this same thing in a day or two, so I'm hoping not to reinvent the wheel... especially since I only have less than a month of experience with PHP.

Thanks a million. I'm looking forward to seeing this code everyone's raving about.
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto submit story on submit step 3 for god only gnalkit Questions and Comments 3 03-30-2011 01:09 AM
[SOLVED] How to automatically check for updates in rss feed? marcinpl87 Questions and Comments 3 01-14-2010 01:06 AM
Some ideas to build a Pligg site Divisive Cotton Questions and Comments 22 10-22-2009 11:46 AM
RSS Import Feed - Feed Frequency Not working ant560 Questions and Comments 4 03-15-2008 05:31 AM
Import RSS Auto submit feed argh2xxx Questions and Comments 12 09-12-2007 05:02 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