r22039 - htdocs/branches/beta/externals - Experiment new snippet for google button.

Cristian Marchi cmarchi at code.gnucash.org
Thu Feb 16 13:12:37 EST 2012


Author: cmarchi
Date: 2012-02-16 13:12:37 -0500 (Thu, 16 Feb 2012)
New Revision: 22039
Trac: http://svn.gnucash.org/trac/changeset/22039

Modified:
   htdocs/branches/beta/externals/header.phtml
Log:
Experiment new snippet for google button.

Modified: htdocs/branches/beta/externals/header.phtml
===================================================================
--- htdocs/branches/beta/externals/header.phtml	2012-02-15 23:14:58 UTC (rev 22038)
+++ htdocs/branches/beta/externals/header.phtml	2012-02-16 18:12:37 UTC (rev 22039)
@@ -40,7 +40,14 @@
 
 <title><?= T_($title); ?> | GnuCash</title>
 <!--script for Google+1 button-->
-<script type="text/javascript" src="https://apis.google.com/js/plusone.js">      {lang:'en', parsetags:'explicit'}   </script>
+<!-- Update your html tag to include the itemscope and itemtype attributes -->
+<html itemscope itemtype="http://schema.org/Product">
+<!-- Add the following three tags inside head -->
+<meta itemprop="name" content="GnuCash">
+<meta itemprop="description" content="GnuCash is personal and small-business financial-accounting software, freely licensed under the GNU GPL and available for GNU/Linux, BSD, Solaris, Mac OS X and Microsoft Windows.
+Designed to be easy to use, yet powerful and flexible, GnuCash allows you to track bank accounts, stocks, income and expenses. As quick and intuitive to use as a checkbook register, it is based on professional accounting principles to ensure balanced books and accurate reports.">
+<meta itemprop="image" content="http://gnucash.org/externals/logo_w120.png">
+<!--<script type="text/javascript" src="https://apis.google.com/js/plusone.js">      {lang:'en', parsetags:'explicit'}   </script>-->
 </head>
 
 <body>
@@ -51,8 +58,8 @@
 <p><img src="<?=$top_dir?>/images/gnucash-vert.png" alt="GnuCash" /></p>
 </div>
 
-<!--This is an image out of the view that is shown on google+ profile for GnuCash-->
-<div style="position:absolute;top:-1000px;left:-1000px;"><img src="<?=$home?>/images/gnc-download.png" alt="GnuCash small business accounting" height="152" width="125" /></div>
+<!--This is an image out of the view that is shown on google+ profile for GnuCash
+<div style="position:absolute;top:-1000px;left:-1000px;"><img src="<?=$home?>/images/gnc-download.png" alt="GnuCash small business accounting" height="152" width="125" /></div>-->
 
 <div id="googleplusone">
 
@@ -76,7 +83,7 @@
 <div id="gplusone" class="plusone"></div>
                    <script type="text/javascript">
                               gapi.plusone.render('gplusone', { "size": "tall", "href": "http://www.gnucash.org/", "count": "false" });
-                   </script> 
+                   </script>
 </div>
 
 <!-- the icons on the top right-->



More information about the gnucash-changes mailing list