Go Back   Pligg CMS Forum > Pligg Development > Pligg Mods

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-25-2007, 08:50 AM
Casual Pligger
 
Join Date: Aug 2006
Posts: 41
Thanks: 3
Thanked 0 Times in 0 Posts
RSS Importer possibilities

Hey guys. Hopefully I'm posting in the right spot.

I've got two questions on modifying the RSS importer.

1) Would it be overly difficult to randomize the user posting the rss stories? I'm thinking the same logic used for randomizing the votes would work with randomizing the user. I'd like to set up about ten fake users (user numbers 1-10) and have the rss importer pick a random fake user to assign to each story. Anyone up for showing me how to mod the mod to do this?

2) I'd like to have the RSS importer post links to a 'holding' page for review before posting to the upcoming/front page. This 'holding' page would allow the admin to modify the vote total and category that the story belongs to. This would eliminate stories that are filed in the wrong category and junk stories with too high of a vote total. Any idea on how to accomplish this one?

Many thanks. Pligg is fantastic!
Reply With Quote
  #2 (permalink)  
Old 06-25-2007, 09:39 AM
New Pligger
 
Join Date: Jun 2007
Posts: 29
Thanks: 1
Thanked 14 Times in 6 Posts
great idea about random users, it should not be hard to do it. Just specify a range of user ids instead of one user id and call rand on that range when picking up the id. I might do it myself if I get some free time.

It think the second idea is a bit more complicated.
__________________
Patches and Hacks
Reply With Quote
  #3 (permalink)  
Old 06-25-2007, 10:43 AM
Casual Pligger
 
Join Date: Aug 2006
Posts: 41
Thanks: 3
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by mihai View Post
Just specify a range of user ids instead of one user id and call rand on that range when picking up the id. I might do it myself if I get some free time.
Yeah, I was thinking that would be the way to go too. I've done a bit of php programming in the past but I was hoping to integrate it with the rss importer settings page rather than just hard coding it. Thanks to anyone who has the skills to do this easily and has a spare minute to code it.

I'm thinking that using this approach would give the illusion of an active site. I'd like to get this up and running for a few days to a week before spreading the link to the masses. I know that if I went to a site that looked like it had just been set up or looked like I was the only person to ever visit the page then that visit might be my last. Using this method as an initial set up and then slowly cutting the rss import back as 'real' users start using the system could potentially be an effective way to jump start a pligg site.

Quote:
It think the second idea is a bit more complicated.
Agreed. Perhaps the news management section can be hacked to display the vote total and category pulldown. I guess I might have to get my hands dirty if I'm the only one interested in being able to quickly edit/recategorize multiple stories at a time.
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
The RSS Importer and Google Reader deguello General Help 9 08-14-2008 04:47 AM
Modules and RSS importer do not work after upgrade to 9.6 from 9.5 altinvest Installation and Upgrade Help 0 06-04-2007 12:20 PM
rss feeds importer in pligg 9.5 zolotko General Help 0 05-27-2007 02:33 PM
Help with RSS Importer and Pligg 8 upgrade jculbertson Installation and Upgrade Help 0 03-11-2007 09:48 PM
RSS importer and messaging olympist Bug Report 0 01-05-2007 03:54 AM


Search Engine Friendly URLs by vBSEO 3.2.0