View Full Version : Alternatives to Google AdSense
davebpa
02-02-2012, 08:00 PM
I submitted my Flash site to Google for AdSense, but it was rejected due to lack of text/content. Well, as you would imagine there is text on the site, it's just in the swf portion so the bots couldn't read it. The html file just embeds the swf.
Does anyone know any other banner ads sales sites they can recommend? Otherwise, how much text is needed for AdSense? Can I just write a brief one line description? FWIW I've read that AdSense bots are different from Google bots in that they do not read Flash content.
Thanks,
[afz]snickelfitz
02-02-2012, 08:39 PM
load your text content from external html files or text documents.
php include the html files in the alternate content div in the embedding page.
(use swfObject dynamic publishing; rename your index.html, to index.php)
Google bots should then see your text content without a problem, since the above scenario is similar to most "html" sites.
Here's an example full flash website that uses the technique I described above.
view the page source to see the text content that google bots would see.
http://www.mrantucson.com/
davebpa
02-02-2012, 09:24 PM
Thanks, I'm pretty new to alot of this. Are you saying in my html code I need to create an alternate content <div>? Also, are you saying I can just add a second index file but rename it index.php?
I think it's a little late for me to load my text from external files. I'm not that good with Actionscript & it was combersome for me to get to where I am.
[afz]snickelfitz
02-02-2012, 09:51 PM
Do not use the Adobe HTML file generated by Flash Publishing.
Download swfObject 2.2 and use that instead.
http://code.google.com/p/swfobject/downloads/list
At the swfObject site on code.google, there is a wiki page with some examples, copy the source code from one of the dynamic publishing page examples and paste it into a new html file.
Edit the paths and references therein to match your setup.
http://code.google.com/p/swfobject/wiki/test_suite
Since you'll be using PHP code in your index.html file, you'll have to rename it to index.php.
The PHP code is fairly simple.
Basically, the PHP grabs the html files and places them in the alternate content div.
I'm using the Dreamweaver Spry framework to diplay the information in a nice accordion widget with very little effort on my part. It's just for cell phones and devices that can't view flash content, and for search engines.
(I'm sure someone better at PHP than myself will come along and suggest something better, but this technique works well enough)
The following code is the entire body of the embedding page; if flash is not available, the alternate content created by the PHP is displayed.
<body onLoad="initialize()">
<!-- SWFObject's dynamic embed method replaces this alternative HTML content for Flash content when enough JavaScript and Flash plug-in support is available. -->
<div id="flashContent">
<div id="header">
<img src="images/logo.png" width="176" height="60" alt="mr an's logo" />
</div><!--end header div-->
<div id="content">
<div id="Accordion1" class="Accordion" tabindex="0">
<div class="AccordionPanel">
<div class="AccordionPanelTab">Home</div>
<div class="AccordionPanelContent"><?php @ require_once("pages/home.html"); ?></div>
</div>
<div class="AccordionPanel">
<div class="AccordionPanelTab">News & Events</div>
<div class="AccordionPanelContent"><?php @ require_once("pages/news.html"); ?></div>
</div>
<div class="AccordionPanel">
<div class="AccordionPanelTab">Contact Us</div>
<div class="AccordionPanelContent"><?php @ require_once("pages/contact.html"); ?></div>
</div>
<div class="AccordionPanel">
<div class="AccordionPanelTab">Map</div>
<div class="AccordionPanelContent"><div id="map_canvas" style="position:relative; width:100%; height:100%"></div></div>
</div>
<div class="AccordionPanel">
<div class="AccordionPanelTab">Menu</div>
<div class="AccordionPanelContent">Content 5</div>
</div>
<div class="AccordionPanel">
<div class="AccordionPanelTab">About Sushi</div>
<div class="AccordionPanelContent"><?php @ require_once("pages/aboutSushi.html"); ?></div>
</div>
</div>
<script type="text/javascript">var Accordion1 = new Spry.Widget.Accordion("Accordion1", { defaultPanel: 3 });</script>
</div><!--end content div-->
<div id="footer">
</div><!--end footer div-->
</div><!--end flash div-->
</body>
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.