Tuesday, October 31, 2006
Interprise Suite v1
I haven't really messed with the software yet, but I hope to use it to start a drop shipping business.
Monday, October 23, 2006
Viral Marketing with phpList
I'm also trying to incorporate the GeoLite City database, so I can capture a users region when they sign up for the newsletter. Since the niche I'm working in is very location oriented, I hope to be able to use PHPList and PHPadsnew to target them with location specific newsletters and banners.
I'm going to try the plan similar to the 15kchallenge. The plan is to offer something for free if they add their email address, and confirm using the link in the welcome email. Then offer something else for free if they sign up 3 friends (and they confirm).
Thursday, October 19, 2006
Amazon API IntelliTXT
//To use this you'll need to first download tools.inc.php
//which is included with the AWS Book (awsbook.com)
//samples.
//http://sourceforge.net/project/showfiles.php?group_id=88612
//Find tools.inc.php under 'Chapter 4'
//
require_once("tools.inc.php");
define('SUBID', '1A7XKHR5BYD0WPJVQEG2'); // Your subscription id
define('Searchindex','Books');
//define('Searchindex','Music');
//define('Searchindex','DVD');
//define('Searchindex','Toys');
//define('Searchindex','Video Games');
//define('Searchindex','Software');
//define('Searchindex','Software Video Games');
//define('Searchindex','Electronics');
//define('Searchindex','Tools');
//define('Searchindex','Sporting Goods');
//define('Searchindex','Art Supplies');
//define('Searchindex','Kitchen');
//define('Searchindex','Gourmet Food');
//define('Searchindex','Apparel');
//define('Searchindex','PC Hardware');
//define('Searchindex','VHS');
function awsreplace($keyword) {
$request = 'http://webservices.amazon.com/onca/xml?Service=AWSECommerceService&AWSAccessKeyId='.SUBID.'&Operation=ItemSearch&Keywords='.urlencode($keyword).'&SearchIndex='.Searchindex.'&Sort=salesrank';
// Get the response from Amazon
$xml = file_get_contents($request);
// Parse the results
$Result = xmlparser($xml);
$ASIN = $Result['ItemSearchResponse']['Items'][0]['Item'][0]["ASIN"][0];
$url = '<a href="http://www.amazon.com/gp/product/'.$ASIN.'?ie=UTF8&tag=duelcoastweb-20&linkCode=as2&camp=1789&creative=9325&creativeASIN='.$ASIN.'">';
$replacestr = $url . $keyword . '</a>';
if (!isset($Result['ItemSearchResponse']['Items'][0]['Item'][0]["ASIN"][0])) {
$replacestr = $keyword;
}
return $replacestr;
}
I call the function from within my page like this:
foreach ($keyword_array AS $keyword_replace) {
$body = str_ireplace(trim($keyword_replace),awsreplace(trim($keyword_replace)),$body);
}
?>
Saturday, October 14, 2006
AIS Script Finished
The only problem I am having with Smarty is with the caching feature. I cannot figure out how to make Smarty see a script with parameters (i.e. smarty.php?a=1) as its own file. Right now it is caching the page as 1 file, regardless of if the parameters are different. If anyone knows how to solve this problem with Smarty, please let me know. Right now, I have cache turned off.
Thursday, October 12, 2006
Smarty, SmArticle
Automatic Keyword Generator PHP class by Ver Pangonilo (of Limbo fame). I'm just about done the script, I just want to figure out htaccess redirects to make the URLs SEO. I'll post a link to the site once finished. I don't think I'll release the code since Burt's tool should do the job for most people. If you have any suggestions of things I should include in my script let me know and I may share the code with you.
Wednesday, October 11, 2006
What Happened?
I'm starting to get the AIS bug again, and will be working on a viral marketing script. I'm developing a product, and hopefully will launch in the next month. If anyone has any opensource code that will help with the viral marketing script, please let me know. Also, please let me know if anyone is still reading this. Thanks.
Monday, April 10, 2006
New AIS
http://www.bullsessions.com/admin/2006/04/post-your-adsense-on-our-blog/
Thursday, March 16, 2006
Multiple Adsense Accounts on One Page?
I've been looking at the TOS and can't figure out if this is allowed.
Saturday, February 11, 2006
Adsense Update
This month so far I've done $251.50 in adsense, and a little over $50 on the affiliates. The site that I made changes on made $13.80 last month, and $7.31 so far this month. If anyone wants to share some PLR articles (all on 1 niche topic) with me, I'll share the tool I've been working on. I need to see some examples of how the PLR articles are delivered so I can adjust my tool appropriately.
Wednesday, February 08, 2006
Unique Articles
The first thing I wanted to try to do was to put a block of text in the middle of the article. How would I find the middle? Depending on how the article was formatted (I'll assume 2 BR tags are used between each paragraph) I would count the total number of occurences of the paragraph break, divide by 2, and merge my text there.
The first thing I needed to do was to figure out a way to find the Nth occurance of a string within a larger string. I was able to do that using this function:
function strposnth($haystack, $needle, $nth=1, $insenstive=0) {
if ($insenstive) {
$haystack=strtolower($haystack);
$needle=strtolower($needle);
}
$count=substr_count($haystack,$needle);
if ($count<1> $count) return false;
for($i=0,$pos=0,$len=0;$i<$nth;$i++) { $pos=strpos($haystack,$needle,$pos+$len); if ($i==0) $len=strlen($needle); } return $pos; }
To find the middle of the article, I would do:
$text = file_get_contents($article_path . $file);
$paragraph_count = substr_count($text, "(2 BR TAGS REMOVED FOR BLOGGER)");
$middle = floor($paragraph_count / 2);
$middlepos = strposnth($text,"(2 BR TAGS REMOVED FOR BLOGGER)",$middle);
$start_text = substr($text,0,$middlepos);
$end_text = substr($text,$middlepos);
So that got me the beginning and end of the article. I could then add text in the middle like this:
$middletxt = "(2 BR TAGS REMOVED FOR BLOGGER)This is the paragraph I am adding";
$outtext = $start_text . $middletxt . $end_text;
I know this is pretty easy stuff, but I thought I would post about it. I would like to get together a list of synonyms that can be used on most articles without causing problems. I'll then have my script automatically replace these words in the articles. Adding a header, middle, footer, and replacing the synonyms should make the article appear more unique to the search engines. I am going to sign up for one of the PLR article sites as soon as I get this script working as wanted.
Wednesday, February 01, 2006
January Stats
Adsense: $640.04
Affiliates: $234.24
Total: $874.28
Hosting cost me $19.95, and I registered a few domains at $2.88 each.
Monday, January 30, 2006
Dropshipping
Has anyone successfully gotten into dropshipping? I would love to have a conversation about it (IM or Skype).
Looks like I'll fall alittle short of my $1000 AIS for the month, but not by much. I'm at around $850 so far on the month, with today and tomorrow left.
Wednesday, January 18, 2006
Drupal CMS Search Engine Optimization
Drupal is very search engine friendly right out of the box. Adding the pathauto module, turning on clean urls, and adding an optimized theme makes it even friendlier. It has built-in syndication, and is pretty easy to setup.
If you have a site that’s doing nothing, I highly suggest messing around with Drupal. I'll do my best to help you out with installation issues, just leave a comment with the problem and your email address.
http://drupal.org/
Tuesday, January 17, 2006
AIS Update
I'm still basically unlisted in Google. I believe I've been put onto some type of IP address ban, because all of my sites are on the same server, with the same IP address. I need to get a new resellers account.
Reading Burt's post today about his $50 day yesterday made me want to "Set it and forget it". 10 minutes a day doesn't seem like a lot, but the fact that it makes nothing if I forget to touch it, or am away from my computer is very annoying.
I am going to get a new resellers account and start slow, building true "Set it and forget it" AIS sites. I still have not paid $1 for site generating software or keyword lists.
Sunday, January 08, 2006
Update
I just created a new type of AIS site (who knows if it will work) using a modified version of RSSG. The content on the pages is lacking, but I'm hoping to be able to generate enough traffic using other methods. http://www.fenderguitarstore.info/