Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2011-02-26 10:09:38

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

RSS Video Feeds

Hi,

I'll work a few hours today on the rss video feeds and then starting with monday i'll work until this addon is finished. How will the RSS Video Feeds work:

* you will be able to add/edit rss video feeds (name, url) from the administration panel
* you will be able to run any feed at any time from the administration panel
* you will be able to assign a sponsor (meaning site advertising for the sponsor and flash player advertising for the sponsor will appear for the imported videos)
* a cron file will also be provided to update your site at specified intervals

There are more than 40 affiliates that support rss video feeds (some with > 15000 videos) out there, so i think this is a important addon.

Please let me know if you have any questions or ideas.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#2 2011-02-26 16:51:26

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: RSS Video Feeds

A API will also be provided (like GDATA for google) so that you can transfer your videos from one site to another (both sites must run Adult Script Pro).


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#3 2011-03-01 12:44:31

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: RSS Video Feeds

This addon is almost done (running tests with 5 affiliates now). Will update scriptdevel.com later today or tomorrow for testing.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#4 2011-03-01 13:29:33

Coscast
Member
From: Germany
Registered: 2010-10-03
Posts: 546

Re: RSS Video Feeds

WTF. This means, the site can run completely on Autopilot.
This is one of the best features (there are so many advantages in using ASP).
Like the Videoswiper Guy wrote: ASP will soon dominate smile


sgt-halfsize-banner.jpg

Offline

#5 2011-03-01 13:37:54

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: RSS Video Feeds

Yeah. It means the site will run alone and update with videos. While this is very good from a lot of point of views, if you want your site to be different you will have to change the video descriptions/titles/tags (not really titles, but tags and descriptions are a good idea). Also it will not work on all servers, however i'm thinking of a way to make this work (like update only a feed at a time, then update another and so on, so if you have 10 feeds set to update with 5 videos each and a cron from 2 to 2 hours, then you would get like 50 videos / day added automatically). Of course from admin you could add 100 videos directly from a feed (this is also depends on the server).


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#6 2011-03-03 18:06:20

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: RSS Video Feeds

Finished and tested with:
vidz.com
dream-cash.com
hentaibiz.com
pimboss.com
nichewealth.com

I'll upload to scriptdevel tomorrow for testing.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#7 2011-03-04 11:52:48

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: RSS Video Feeds

I've decided to finish the Pornstars/Models import tool before uploading a demo (it will be this weekend), so that i can test both CSV Import and Rss Feed Import after
i add 1000 pornstars, to check if automatic pornstar detection works.

Until then, some screenshots:
Screenshot-1.png
Screenshot-2.png
Screenshot-3.png

Feeds can also be parsed via cron. Basically you can set a cron to update every 2 hours, which will add 10 videos (you can define the number) from
each feed. It will also block duplicates.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#8 2011-05-06 01:55:42

marshalbros
Member
Registered: 2011-05-05
Posts: 42

Re: RSS Video Feeds

Whats the status on the Pornstar csv import and what is the cron entry needed to autoupdate RSS feeds?

Offline

#9 2011-05-06 07:47:57

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: RSS Video Feeds

The pornstar CSV/RSS Import was dropped in the early stage (the pornstar rss import is finished, but csv isnt). No sponsor could supply us with the required data (we spoke with videosz, vidz and twistys).

Here's the cron (i think its also in the cron folder):

<?php
define('_VALID', true);
define('_CONSOLE', true);

$base_dir = realpath(dirname(__FILE__).'/../');
require $base_dir.'/libraries/bootstrap.php';

set_time_limit(0);

$db = VF::factory('database');
$db->query("SELECT *
            FROM #__video_feeds
            WHERE status = '1'
            ORDER BY last_updated ASC
            LIMIT 1");
if ($db->affected_rows()) {
    $options = $db->fetch_assoc();
    $feed    = VHelper::load('admin.rss.feed', TRUE);
    $feed->set_options($options);
    $feed->parse();
}

VF::close();

Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#10 2011-05-06 13:24:24

marshalbros
Member
Registered: 2011-05-05
Posts: 42

Re: RSS Video Feeds

When I run /cron/video_feed.php from command line, it only runs the first feed and doesnt even try to parse the rest of the feeds.

Last edited by marshalbros (2011-05-06 13:26:45)

Offline

#11 2011-05-06 16:17:55

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: RSS Video Feeds

Yes. Thats correct. Its set so that it only parses one feed. I've configured it this way because you can set the feeds to add 3 videos / hour for example. So basically every hour you get 3 videos from a different feed. It is very easy to make it parse all feeds, however it can cause timeouts for mysql (if you have 100 feeds, it takes some time).


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#12 2011-05-06 16:34:52

marshalbros
Member
Registered: 2011-05-05
Posts: 42

Re: RSS Video Feeds

maybe I wasnt clear.  No matter how many times I run the cron, it only tries to parse the same feed.  I have several feeds, but it only parses the first active one.

Offline

#13 2011-05-06 17:23:28

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: RSS Video Feeds

Ahhh...thats a problem and i know where the bug is. Basically if no video was added, the feed never gets marked as parsed. If you want to fix now edit admin/modules/rss/helpers/feed.php and find this line:

$this->update();

remove it and then find this line:

public function parse()

Find the last } in this function and add the following line above it:

$this->update();

If you want i can just send you a fixed file.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#14 2011-05-06 18:22:22

marshalbros
Member
Registered: 2011-05-05
Posts: 42

Re: RSS Video Feeds

please send me the file.  Thanks.

Offline

#15 2011-10-30 22:56:33

jaydenblair@live.co.uk
Member
From: United Kingdom
Registered: 2011-10-30
Posts: 369
Website

Re: RSS Video Feeds

if i use the rss way of adding stuff am i then hosting it trying to save bandwith

Offline

#16 2011-10-31 08:07:13

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: RSS Video Feeds

I do not understand your question. Can you please explain?


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

Board footer

Powered by FluxBB