Howdy all, I had Friday off and began putting some new life and direction into an idea I had over the weekend.
My original idea was to have a Wordpress blog which reposted google news articles. I have learned that this is called autoblogging, correct? I would then place banner or sidebar ads on the site and make money. ... well. that made me about a dollar. Probably because I was using a bad ad provider for the site, which went out of business last time I saw. I considered that the death of the project since I didn't want to lie to a bunch of 'real' online advertisers.
So, as I said, I had Friday off and wanted to modify my code a bit to use a different approach.
It occurred to me that having banner ads and such clutter up the screen real estate, especially for websites intended to be seen from a mobile browser (I'm into mobile, I think it's promising) so after seeing adfly on the forums I decided to use shortened links as ads. The clever bit is that all of my scraped content is "fair" in that it gives a route to the original article. I think that this isn't common practice, so I figured I would mention it.
Now, I use adfly to shorten the links to the source, and make the article image link to adfly - source.
What we have after the code runs is an article posted to wordpress that has been scraped from google news using a theme (keywords). An image is also scraped from google news using the article title and included as the main image of the post. The main image is enclosed in adfly that goes to the article source.
Code can be found at pastebin: 4M5MFDQ3
you will need to change a few things, and set up a MySQL database called proxies, with a table called proxy, and one column called ipAddress. Also, be sure to set your Wordpress username and password to post with inside the code. Your own adfly link needs to be inserted as well, unless you want to make me money.
I intend to expose these things through command line flags, but that's a little later on for me. My apologies in general to whoever tries to make sense of this code. I promise a rewrite is coming soon, even for my own use.
The only thing that bothers me about the code is how I extract the article content from the sources. It's a nightmare of regex and string replacements that yield an ok output, but don't expect it to be perfect. That's next on my list of things to improve on this.
My question to the forum is has anyone had success with adfly or any other similar service? Does reposting news articles from google have the potential to supplement my beer fund? Is mobile-based web marketing all it's hyped up to be?
Note: Can mod please move this to Blogging or Journeys? I tried to work out why I was being told my post was spam and now I can't figure out how to delete this post to put it in the right place. lol sorry guys.
My original idea was to have a Wordpress blog which reposted google news articles. I have learned that this is called autoblogging, correct? I would then place banner or sidebar ads on the site and make money. ... well. that made me about a dollar. Probably because I was using a bad ad provider for the site, which went out of business last time I saw. I considered that the death of the project since I didn't want to lie to a bunch of 'real' online advertisers.
So, as I said, I had Friday off and wanted to modify my code a bit to use a different approach.
It occurred to me that having banner ads and such clutter up the screen real estate, especially for websites intended to be seen from a mobile browser (I'm into mobile, I think it's promising) so after seeing adfly on the forums I decided to use shortened links as ads. The clever bit is that all of my scraped content is "fair" in that it gives a route to the original article. I think that this isn't common practice, so I figured I would mention it.
Now, I use adfly to shorten the links to the source, and make the article image link to adfly - source.
What we have after the code runs is an article posted to wordpress that has been scraped from google news using a theme (keywords). An image is also scraped from google news using the article title and included as the main image of the post. The main image is enclosed in adfly that goes to the article source.
Code can be found at pastebin: 4M5MFDQ3
you will need to change a few things, and set up a MySQL database called proxies, with a table called proxy, and one column called ipAddress. Also, be sure to set your Wordpress username and password to post with inside the code. Your own adfly link needs to be inserted as well, unless you want to make me money.
The only thing that bothers me about the code is how I extract the article content from the sources. It's a nightmare of regex and string replacements that yield an ok output, but don't expect it to be perfect. That's next on my list of things to improve on this.
My question to the forum is has anyone had success with adfly or any other similar service? Does reposting news articles from google have the potential to supplement my beer fund? Is mobile-based web marketing all it's hyped up to be?
Note: Can mod please move this to Blogging or Journeys? I tried to work out why I was being told my post was spam and now I can't figure out how to delete this post to put it in the right place. lol sorry guys.
Last edited: