>> Automatic Social Bookmarking for AOM.

Discussion in 'Amazon' started by Nite, Nov 3, 2007.

  1. #1
    This post is about promoting our AOM stores using social bookmarking methods. I decided to copy and paste it here (from my original post on the AOM forum).

    Onlywire allows you to use multiple social-bookmarking websites at once.

    In other words, one would create an account at OnlyWire, and then proceed to add their login information to around 15 other social bookmarking websites -- the ones that OnlyWire supports. Now, instead of bookmarking a website to each of the 15 sites individually, all it takes is ONE bookmark to OnlyWire. Using your login information, OnlyWire will login to each of your 15 accounts and create a social bookmark -- automatically.

    How's that for cool?

    What's even cooler is that I have come up with some amateur code that will all you to integrate this -- automatically and easily to your AOM store.

    1. Place the code below into a file.. "bookmarking.html" will do fine.
    2. Create a "Custom Box" and name it "Social Bookmarking" or the like.
    3. Have that Custom Box execute the file "bookmarking.html" .
    4. I recommend having this "Custom Box" appear on the HomePage alone.

    The content of "bookmarking.html" is as follows:
    
    <script type="text/javascript">
    	function addBookmark(title,url) {
    		if (window.sidebar) { 
    			window.sidebar.addPanel(title, url,""); 
    		} else if( document.all ) {
    	window.external.AddFavorite( url, title);
    		} else if( window.opera && window.print ) {
    	return true;
    	}
    }
    </script>
    
    <a rel="nofollow" class="aom_bt" href="http://www.onlywire.com/submit?u=<?php echo('http://www.'.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']); ?>&t=<? echo $page['Title']; ?>&tags=<?php echo $page['MetaKeywords']; ?>" title="Social Bookmark <?php echo $page['Title']; ?> to Onlywire" target="_blank">Add Social Bookmark.</a>
    
    <br />
    
    <?php echo '
    <a rel="nofollow" class="aom_bt" title="Personal Bookmark ', $page['Title'], '" href="#"onmousedown="addBookmark('', $page['Title'], '','';?><?php echo('http://'.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']);
     ?><?php echo '')">Add Personal Bookmark.</a>'; ?>
     
    <div style="padding-top: 3px;"></div>
    
    Code (markup):
    If you take a closer look at the OnlyWire code, the keywords that are configured in the AOM Admin panel will be used as tags -- automatically. Onlywire limits the number of tags that can be used, though.. I guess to prevent "tag stuffing" attempts.

    There is also some code in there to make a personal bookmark into one's own browser.

    Now, whenever you have added this code to your website, reply to this thread with the url to your AOM store(s). (Remember to make your social bookmarking link appear in a prominent position.) Now, we can help each other out by bookmarking each other's sites with minimal effort.

    Live Demonstration(s) :

    THX Certified Electronics
    High Definition Television
    PennyQuick Investing
     
    Nite, Nov 3, 2007 IP
  2. tikanaht

    tikanaht Peon

    Messages:
    8
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Thanks. :D
     
    tikanaht, Dec 6, 2007 IP