GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   I'm working on programming a wordpress plugin to turn FHGs into blog entries...... (https://gfy.com/showthread.php?t=715164)

BoyAlley 03-16-2007 12:35 AM

I'm working on programming a wordpress plugin to turn FHGs into blog entries......
 
Before I get to far along I wanted to make sure this doesn't already exist? I hunted for it and couldn't find anything close?

If not, I'll continue working away. Shouldn't be too difficult. Parse it baby, ooh yeah, right there, parse it, parse it hard!

I'm breaking out my ninja coding skills breeders, look out look out!

Aussie Rebel 03-16-2007 01:52 AM

good luck, sounds like a great plug in, I'd like something like that

darksoul 03-16-2007 01:59 AM

it doesn't exist as a wordpress plugin but it can be easily done with ST
You can export RSS feeds with auto cropped thumbnails and with the description.
Once you have the feeds getting them into wordpress is cake.

HomerSimpson 03-16-2007 02:36 AM

Check out ZippedSites.com

They have developed plugins for wordpress for converting it
to TGP, Thumb Blog, Dating blog, WebCams Blog and to use RSS feeds form sponsors...

martinsc 03-16-2007 02:46 AM

i've looked for one, but couldn't really find anything....

polle54 03-16-2007 02:57 AM

well I have programmed one...

but the problem is getting text on it.... I used galleries with unique text descriptions and thought of maybe using markov.

but this script is not up for grasp, sorry.

Pimpin_J 03-16-2007 03:03 AM

Why not use www.arylia.com ? It does exactly what you want and is only $175 bucks :thumbsup

Example

nekrom 03-16-2007 03:15 AM

It's already been done and on sale mate.
http://www.cheapestadultscripts.com/gs/

-N

Jace 03-16-2007 03:16 AM

Quote:

Originally Posted by darksoul (Post 12088187)
it doesn't exist as a wordpress plugin but it can be easily done with ST
You can export RSS feeds with auto cropped thumbnails and with the description.
Once you have the feeds getting them into wordpress is cake.

simple solution right there, and with the free version of smart thumbs it is a breeze

crockett 03-16-2007 03:16 AM

Just a FYI.. there is already a WP plug in like this in the works. It's actually already in use by a few people from another forum.

fris 03-16-2007 04:13 AM

Quote:

Originally Posted by crockett (Post 12088458)
Just a FYI.. there is already a WP plug in like this in the works. It's actually already in use by a few people from another forum.

i was gonna install the beta version, have you tried it yet?

Adultnet 03-16-2007 04:26 AM

I already built the software that can do this all. The version is based on php and mysql.
If anyone need a copy shoot me an icq msg to 502189....

BoyAlley 03-16-2007 02:03 PM

Cool, thanks for all the replies, might end up saving me some work. I'll look into these today.

Pete-KT 03-16-2007 02:05 PM

Nice let me know when its ready for Beta

LiveDose 03-16-2007 02:19 PM

Quote:

Originally Posted by nekrom (Post 12088449)
It's already been done and on sale mate.
http://www.cheapestadultscripts.com/gs/

-N


Now that's nice...:thumbsup

BigBen 03-16-2007 02:26 PM

Quote:

Originally Posted by Fris (Post 12088609)
i was gonna install the beta version, have you tried it yet?

Haven't used the latest version with the templates, but seems to work alright.

teksonline 03-16-2007 04:58 PM

why does it have to be a plugin? spider gallery, parse html, show results, approve or auto post, up to you.... done

Jimmer 03-16-2007 05:03 PM

I'm also using Gallery Scraper Try out the free version and see how you like it.

teksonline 03-16-2007 05:03 PM

<?
include('config.php');

$url = $row['URL']; // gallery url
$ch = curl_init();
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5); // 5 seconds
curl_setopt($ch, CURLOPT_USERAGENT, "teksonline spider");
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_MAXREDIRS, 2);
$output = curl_exec($ch);

$response_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);

// fixes a whitespace problem between tags on some gay html
$output = preg_replace ('/ {2,}/is', ' ', $output);

$array = parseHTML($output);
echo "{$row['ID']} $response_code: $url\n";

//echo $html[A][0][HREF]; example of html data is in array
echo"\n";

foreach($array['A'] as $href) {

/* hey im one of the href in the web page, do something with me as I am probably a picture link or a movie link
*/
}



function parseHtml($s_str) {
$i_indicatorL = 0;
$i_indicatorR = 0;
$s_tagOption = "";
$i_arrayCounter = 0;
$a_html = array();

// Search for a tag in string
while(is_int(($i_indicatorL=strpos($s_str,"<",$i_i ndicatorR))) ) {
// Get everything into tag...
$i_indicatorL++;
$i_indicatorR = strpos($s_str,">", $i_indicatorL);
$s_temp = substr($s_str, $i_indicatorL, ($i_indicatorR-$i_indicatorL) );
$a_tag = explode( ' ', $s_temp );
// Here we get the tag's name
list( ,$s_tagName,, ) = each($a_tag);
$s_tagName = strtoupper($s_tagName);
// Well, I am not interesting in <br>, </font> or anything else like that...
// So, this is false for tags without options.
$b_boolOptions = is_array(($s_tagOption=each($a_tag))) && $s_tagOption[1];
if( $b_boolOptions ) {
// Without this, we will mess up the array
$i_arrayCounter = (int)count($a_html[$s_tagName]);

// get the tag options, like src="htt://". Here, s_tagTokOption is 'src' and s_tagTokValue is '"http://"'
do {
$s_tagTokOption = strtoupper(strtok($s_tagOption[1], "="));
$s_tagTokValue = trim(strtok("="));
$a_html[$s_tagName][$i_arrayCounter][$s_tagTokOption] = $s_tagTokValue;
$b_boolOptions = is_array(($s_tagOption=each($a_tag))) && $s_tagOption[1];
} while( $b_boolOptions );
}
}
return $a_html;
}

?>

there you are half way home


All times are GMT -7. The time now is 07:59 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123