|
From: Jon O. <jon...@us...> - 2008-06-23 20:20:57
|
Update of /cvsroot/mxbb/mx_ggsitemaps_adv/ggs_style In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv19841/ggs_style Added Files: MyMSN.gif add2netvibes.gif addGoogle.gif addtomyyahoo.gif logo.gif logo_phpBB.gif mxgss.css mxgss.xsl mxrss2.xsl myaol.gif newsgator.gif pageflakes.gif rss2.css Log Message: I've added the full featured ggsitemaps module as mx_ggsitemaps_adv --- NEW FILE: add2netvibes.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: addtomyyahoo.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: logo.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: addGoogle.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: mxgss.css --- /* Ultimate Google Sitmaps Stylesheets (C) 2006 dcz - http://www.phpbb-seo.com/ */ * { margin: 0px; padding: 0px; border: 0px; } body { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 90%; height:100%; padding: 10px 20px 10px 20px; margin: 30px 40px 30px 40px; background-color: #FFFFFF; } h1 { font-weight: bold; font-size: 22px; font-family: "Trebuchet MS",Verdana, Arial, Helvetica, sans-serif; text-decoration: none; line-height : 120%; color : #000000; margin-bottom:0px; margin-top:1px; } h2 { font-family: "Trebuchet MS",Verdana, Arial, Helvetica, sans-serif; font-weight:bold; font-size:16px; margin-bottom:0px; color:#707070; margin-top:1px; } h3 { font-family: "Trebuchet MS",Verdana, Arial, Helvetica, sans-serif; float: right; font-weight:bold; font-size:16px; margin-bottom:0px; color:#707070; margin-top:1px; } table.bodytable{ position:center top; width:100%; background-color:#FFFFFF; border: 1px #98AAB1 solid; } #mxgssLogo { background: url(logo.gif) no-repeat; margin-top:10px; line-height: 95px; text-indent: 210px; } p.sml { font-size:0.8em; margin-top:0px; } td { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height : 120%; } td.thHead { margin:1px; height: 28px; color: #FFA34F; font-size: 11px; font-weight : bold; background-color: #006699; } .forumline { border-collapse:collapse; background-color: #FFFFFF; border: 2px #006699 solid; margin-top:3px; } .forumline td { border-bottom:1px solid #98AAB1; text-align:left; padding:5px; margin:1px; } .header { font-weight: bold; font-size: 16px; color : #FF9601; background-color: #00599B; line-height : 150%; } TD.header_cell { background: transparent; border: 1px #FF9601 solid; } a:link,a:active,a:visited { color : #006699; text-decoration: none; } a:hover { text-decoration: underline; color : #DD6900; } .link { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 90%; color: #006699; background-color: transparent; padding:0px 0px; text-decoration: none; border: none; cursor: pointer; } .row1 { background-color: #EFEFEF; border: solid 1px #FFF; border-right-color: #D6D6D6; border-bottom-color: #D6D6D6; } .row2 { background-color: #DEE3E7; border: solid 1px #FFF; border-right-color: #D6D6D6; border-bottom-color: #D6D6D6; } .row3 { background-color: #EFEFEF; border: solid 1px #FFF; border-right-color: #D6D6D6; border-bottom-color: #D6D6D6; } .row4 { background-color: #D1D7DC; border: solid 1px #FFF; border-right-color: #D6D6D6; border-bottom-color: #D6D6D6; } DIV.copyright { background-color: #F2F4F8; padding:2px; border:1px solid #98AAB1; text-align:center; font-size : 10px; } a.copyright { font-color :#636531; text-decoration: none; } a.copyright:hover { text-decoration: underline; font-color : #DD6900; } --- NEW FILE: myaol.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: pageflakes.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: mxrss2.xsl --- <!-- Ultimate RSS XSLTransform (C) 2006 dcz - http://www.phpbb-seo.com/ --> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="html" version="1.0" encoding="utf-8" indent="yes"/> <xsl:template match="/rss" > <html xml:lang="{language}"> <xsl:variable name="rss_link"> <xsl:value-of select="channel/item/source/@url" /> </xsl:variable> <xsl:variable name="home_link"> <xsl:value-of select="substring-before(substring-after(channel/link, 'http://'), '/')" /> </xsl:variable> <xsl:variable name="browser"> <xsl:choose><xsl:when test="system-property('xsl:vendor')='Transformiix'">mozilla</xsl:when> <xsl:otherwise>other</xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="sorting"> <xsl:choose><xsl:when test="$browser='mozilla'">descending</xsl:when> <xsl:otherwise>ascending</xsl:otherwise> </xsl:choose> </xsl:variable> <head> <title><xsl:value-of select="channel/title" /> - RSS Feed</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <link rel="alternate" type="application/rss+xml" title="{channel/title}" href="{$rss_link}" /> <link rel="stylesheet" href="ggs_style/rss2.css" type="text/css"/> <xsl:if test="$browser='mozilla'"> <!-- Mozilla ignores disable-output-escaping but we don't ;-) --> <script type="text/javascript"> function onload_cb() { var elements = document.getElementsByTagName('div'); for (var i = 0; i < elements.length; i++) { var el = elements[i]; if (el.className == 'description') { el.innerHTML = el.firstChild.data; } } } </script> </xsl:if> </head> <body> <xsl:if test="$browser='mozilla'"> <xsl:attribute name="onload">onload_cb()</xsl:attribute> </xsl:if> <table width="100%" cellspacing="10" cellpadding="10" class="bodytable"> <tr> <td align="center" class="header"> <table class="headertable" cellspacing="0" cellpadding="0"> <tr> <td id="header_logo"></td> </tr> <tr> <td height="50" align="center" nowrap="nowrap"><h1><a href="{channel/link}" title="{channel/title}" class="channel_header"><xsl:value-of select="channel/title" /></a></h1></td> </tr> </table> </td> </tr> <tr> <td align="left"> <xsl:for-each select="channel"> <p class="nav" align="left"> <xsl:choose> <xsl:when test="string-length(substring-after(substring-after(link, 'http://'), '/')) < 1"> </xsl:when> <xsl:otherwise> <a href="http://{$home_link}" class="nav">Home</a> » </xsl:otherwise> </xsl:choose> <a href="{link}" title="{title}" class="nav"><xsl:value-of select="title" /></a> » <a href="{$rss_link}" class="nav">Source</a></p> <table width="90%" align="center" cellspacing="0" cellpadding="5" class="chantable"> <tr> <td colspan="2" class="channel_header"><h1><a href="{link}" title="{title}" class="channel_header"><xsl:value-of select="title" /></a> - RSS Feed</h1></td> </tr> <tr> <td class="channel_desc"><h2><xsl:value-of select="title" /> :</h2><div class="chan_desc"><div class="description"><xsl:value-of select="description" disable-output-escaping="yes"/></div></div> <br/> Last update : <xsl:value-of select="lastBuildDate"/><hr/> Update : <xsl:value-of select="ttl"/> minutes.<hr/><br/> </td> <td class="podcatchers"> <div class="podcatchers"><h2>Subscribe to this feed Now!</h2>Using web-based podcatchers. <a href="http://fusion.google.com/add?feedurl={$rss_link}" target="_google"><img src="ggs_style/addGoogle.gif" border="0" alt="Add to Google" title="Add to Google"/></a><br/> <a href="http://add.my.yahoo.com/rss?url={$rss_link}" target="_yahoo"><img src="ggs_style/addtomyyahoo.gif" border="0" alt="Add to My Yahoo" title="Add to My Yahoo"/></a><br/> <a href="http://my.msn.com/addtomymsn.armx?id=rss&ut={$rss_link}&ru={$rss_link}" target="_msn"><img src="ggs_style/MyMSN.gif" alt="Add to My MSN" title="Add to My MSN"/></a><br/> <a href="http://feeds.my.aol.com/index.jsp?url={$rss_link}" target="_aol"><img alt="Add to MY AOL" src="ggs_style/myaol.gif" title="Add to My AOL" border="0"/></a><br/> <a href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url={$rss_link}" target="_newsgator"><img src="ggs_style/newsgator.gif" alt="Subscribe in NewsGator Online" title="Subscribe in NewsGator Online" border="0"/></a><br/> <a href="http://www.netvibes.com/subscribe.php?url={$rss_link}" target="_netvibes"><img src="ggs_style/add2netvibes.gif" border="0" alt="Add to Netvibes" title="Add to Netvibes"/></a><br/> <a href="http://www.pageflakes.com/subscribe.aspx?url={$rss_link}" target="_pageflakes"><img src="ggs_style/pageflakes.gif" border="0" alt="Add to Page Flakes" title="Add to Page Flakes"/></a><br/></div> </td> </tr> <tr> <td colspan="2" class="channel_desc" ><br/>To subscribe to this RSS feed manually, please use the following URL : <p> <form name="form" action="" method="get" > <label>RSS 2.0 feed link : </label> <input name="urlrss" type="text" value="{$rss_link}" size="80" maxlength="500" /> </form> </p> </td> </tr> <tr > <td valign="bottom" class="channel_header" ><div class="chan_title">RSS Feed : <a href="{link}" title="{title}" class="chan_title"><xsl:value-of select="title" /></a></div> </td> <td valign="bottom" class="channel_header" > <div class="chan_title"> <xsl:choose> <xsl:when test="count(item) = 1"> One item listed. </xsl:when> <xsl:otherwise> <xsl:value-of select="count(item)"/> items listed. </xsl:otherwise> </xsl:choose> </div> </td> </tr> <tr> <td class="item_desc" width="75%"> <table cellpadding="3" cellspacing="3" width="75%"> <xsl:for-each select="item"> <xsl:sort select="substring(pubDate,12,string-length(pubDate))" order="{$sorting}" data-type="number"/> <tr> <td width="80%" class="item_header"><h2><xsl:value-of select="title" disable-output-escaping="yes"/></h2> </td> </tr> <tr> <td class="item_desc" ><div class="description"><xsl:value-of select="description" disable-output-escaping="yes"/></div></td> </tr> <tr> <td width="80%"><div class="item_detail"> Link : <a href="{link}" ><xsl:value-of select="title"/></a><br/> Source : <a href="{source/@url}" title="{source}" target="_blank"><xsl:value-of select="source" /></a> - <xsl:value-of select="pubDate" /></div> </td> </tr> </xsl:for-each> </table> </td> <td width="25%" class="chan_img" align="center" valign="top"><div class="postbody"><a href="{image/link}" target="_blank"><img src="{image/url}" border="0" title="{image/title}" alt="{image/title}" /></a></div></td> </tr> <tr > <td colspan="2" class="item_desc" ><br/></td> </tr> </table> <hr /> </xsl:for-each> </td> </tr> <tr> <!-- We request you retain the full copyright notice below, as well as in all templates you may use, including the link to www.phpbb-seo.com. This not only gives respect to the large amount of time given freely by the developers but also helps build interest, traffic and use of www.phpBB-SEO.com If you cannot (for good reason) retain the full copyright we request you at least leave in place the "Copyright phpBB SEO" line, with "phpBB SEO" linked to www.phpbb-seo.com. If you refuse to include even this, then support and further development on our forums may be affected. The phpBB SEO Team : 2006. --> <td nowrap="nowrap"> <div class="copyright"> © 2006 <a href="http://www.phpbb-seo.com/" title="Search Engine Optimization" class="copyright">phpBB SEO</a></div> </td> </tr> </table> </body> </html> </xsl:template> </xsl:stylesheet> --- NEW FILE: logo_phpBB.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: MyMSN.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: rss2.css --- /* Ultimate Google Sitmaps RSS Stylesheets (C) 2006 dcz - http://www.phpbb-seo.com/ */ * { margin: 0px; padding: 0px; border: 0px; } body { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 90%; height:100%; padding: 10px 20px 10px 20px; margin: 30px 40px 30px 40px; color: #000000; background-color: #FFFFFF; } table.bodytable{ position:center top; width:100%; background-color:#FFFFFF; border: 2px #98AAB1 solid; } TD.header { background-color:#00599B; color:#000000; padding:5px; border:1px solid #9A9A9A; } table.headertable{ width:100%; border-collapse:collapse; background-color: transparent; border: 2px #006699 solid; } p.nav { width:98%; margin-top: 3px; margin-bottom: 5px; padding-left: 20px; padding-bottom: 5px; } /* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */ .nav { font-weight: bold; font-size: 11px; color : #000000;} a.nav { text-decoration: none; color : #006699; } a.nav:hover { text-decoration: underline; } table.chantable{ position:center top; width:100%; background-color:#FFFFFF; border: 2px #006699 solid; } .channel_header { background-color:#00599B; color:#FF9601; padding:5px; border:0px; } TD.channel_desc { background-color:#EFEFEF; color:#000000; padding:5px; border:1px solid #9A9A9A; } .chan_desc { width:98%; margin-top: 3px; margin-bottom: 5px; padding-left: 20px; padding-bottom: 5px; border-bottom:1px dashed #9A9A9A; } TD.item_header { background-color:#5D94FB; color:#000000; padding:5px; border:2px solid #9A9A9A; } .item_desc { color:#000000; background-color:#EFEFEF; padding:10px border-bottom:1px #9A9A9A; } TD.chan_img { clear:all; float:auto; background-color:#D6DAE7; border-left:1px solid #9A9A9A; } div.chan_img { float:auto; } .chan_title { font-weight: bold; font-size: 14px ; letter-spacing: 1px; color : #FF9601; } a.chan_title { color : #FF9601; text-decoration: none; } a.chan_title:hover { text-decoration: underline; color : #FF9601; } .description { color: #000000; margin: 5px; padding: 5px; font-size : 12px; } div.podcatchers { background-color:#D6DAE7; color: #000000; margin: 0px; padding: 10px; font-size : 12px; text-align:right; } td.podcatchers { background-color:#D6DAE7; } .item_detail { font-size: 12px ; width:98%; padding-left: 5px; padding-top: 5px; padding-bottom: 10px; border-bottom: 3px solid #9A9A9A; } .item_title { width:98%; padding: 2px; font-size: 12px ; letter-spacing: 1px; padding-top: 5px; color : #006699; } .item_sub_title { width:98%; padding: 2px; font-size: 12px ; font-weight: bold ; letter-spacing: 1px; padding-top: 5px; margin-bottom: 10px; border-bottom: 1px solid #9A9A9A; } a.item_title { color : #FF9601; text-decoration: none; } a.item_title:hover { text-decoration: underline; color : #FF9601; } DIV.copyright { background-color: #00599B; padding:5px; border:1px solid #98AAB1; font-size : 10px; } a.copyright { font-color :#636531; font-size : 10px; text-decoration: none; } a.copyright:hover { font-size : 10px; text-decoration: underline; font-color : #DD6900; } img { display: inline; border:0px; } h1 { font-weight: bold; font-size: 22px; font-family: "Trebuchet MS",Verdana, Arial, Helvetica, sans-serif; text-decoration: none; color : #FF9601; } h2 { font-family: "Trebuchet MS",Verdana, Arial, Helvetica, sans-serif; font-weight:bold; font-size:16px; color:#595959; margin-top:1px; } h3 { font-family: "Trebuchet MS",Verdana, Arial, Helvetica, sans-serif; float: right; font-weight:bold; font-size:16px; color:#707070; margin-top:1px; } ul { margin-left:10px; padding:0px; } li { margin-left:10px; } table { width:100%; } form { float:left; margin:5px; } label { color:#006699; font-weight:bold; } input { color : #006699; font-family : Verdana, Arial, Helvetica, sans-serif; font-weight : bold; position:relative; background-color:#C6C5E7; border-top : #000000 1px solid; border-left : #000000 1px solid; border-right : #000000 1px solid; border-bottom : #000000 1px solid; cursor:pointer; margin:1px; padding:3px; } hr { clear: both; visibility:hidden; } #header_logo { padding:3px; padding-top:10px; margin-left:5px; height:110px; width:200px; background:transparent; background-position: 50% 100%; background-image: url("logo.gif"); background-repeat: no-repeat; } .copyright { font-size:8px; color :#FFFFFF; text-align:center; } a.copyright { color :#FFFFFF; text-decoration: none; } a.copyright:hover { text-decoration: underline; color : #DD6900; } div.detail { display:inline; } .quote { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #444444; line-height: 125%; background-color: #FAFAFA; border:1px solid #D1D7DC; margin: 10px; padding:5px; } .code { font-family: Courier, 'Courier New', sans-serif; font-size: 11px; color: #006600; background-color: #FAFAFA; border: border:1px solid #D1D7DC; margin: 10px; padding: 5px; } /* The content of the posts (body of text) */ .postbody { color: #000000; margin: 5px; padding: 5px; font-size : 12px; } a.postlink:link { text-decoration: none; color : #006699 } a.postlink:visited { text-decoration: none; color : #5493B4; } a.postlink:hover { text-decoration: underline; color : #DD6900} /* General text */ .gen { font-size : 12px; } .genmed { font-size : 11px; } .gensmall { font-size : 10px; } .gen,.genmed,.gensmall { color : #000000; } a,a.gen,a.genmed,a.gensmall { color: #006699; text-decoration: none; } a:hover,a.gen:hover,a.genmed:hover,a.gensmall:hover { color: #DD6900; text-decoration: underline; } --- NEW FILE: newsgator.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: mxgss.xsl --- <!-- Ultimate Google Sitmaps XSLTransform (C) 2006 dcz - http://www.phpbb-seo.com/ --> <xsl:stylesheet version="2.0" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:sitemap="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="html" version="1.0" encoding="utf-8" indent="yes"/> <!-- Root template --> <xsl:template match="/"> <!-- Store in $fileType if we are in a sitemap or in a SitemapIndex --> <xsl:variable name="fileType"> <xsl:choose> <xsl:when test="//sitemap:url">Sitemap</xsl:when> <xsl:otherwise>SitemapIndex</xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="home_link"> <xsl:choose><xsl:when test="$fileType='Sitemap'"><xsl:value-of select="substring-before(substring-after(sitemap:urlset/sitemap:url/sitemap:loc, 'http://'), '/')"/></xsl:when> <xsl:otherwise><xsl:value-of select="substring-before(substring-after(sitemap:sitemapindex/sitemap:sitemap/sitemap:loc, 'http://'), '/')"/></xsl:otherwise> </xsl:choose> </xsl:variable> <html> <head> <title> <xsl:choose><xsl:when test="$fileType='Sitemap'">xml Sitemap : <xsl:value-of select="substring-after(sitemap:urlset/sitemap:url/sitemap:loc, 'http://')"/></xsl:when> <xsl:otherwise>xml SitemapIndex</xsl:otherwise> </xsl:choose> </title> <link rel="stylesheet" href="ggs_style/mxgss.css" type="text/css"/> </head> <!-- Body --> <body> <table class="bodytable" cellspacing="15"> <tr> <td> <h1 id="mxgssLogo">xml <xsl:value-of select="$fileType"/></h1><br /> <h3><a href="http://{$home_link}" title="Home" class="nav">Home</a></h3> <h1> <xsl:value-of select="$fileType"/> <xsl:if test="$fileType='Sitemap'"> of : <a href="{sitemap:urlset/sitemap:url/sitemap:loc}" title="Visit source"> <xsl:value-of select="substring-after(sitemap:urlset/sitemap:url/sitemap:loc, 'http://')"/></a></xsl:if> </h1> <xsl:choose> <xsl:when test="$fileType='Sitemap'"><xsl:call-template name="sitemapTable"/></xsl:when> <xsl:otherwise><xsl:call-template name="siteindexTable"/></xsl:otherwise> </xsl:choose> <!-- We request you retain the full copyright notice below, as well as in all templates you may use, including the link to www.phpbb-seo.com. This not only gives respect to the large amount of time given freely by the developers but also helps build interest, traffic and use of www.phpBB-SEO.com If you cannot (for good reason) retain the full copyright we request you at least leave in place the "Copyright phpBB SEO" line, with "phpBB SEO" linked to www.phpbb-seo.com. If you refuse to include even this, then support and further development on our forums may be affected. The phpBB SEO Team : 2006. --> <br/> <div class="copyright">© 2006 <a href="http://www.phpbb-seo.com" title="Optimisation du référencement" class="copyright">phpBB SEO</a></div> </td> </tr> </table> </body> </html> </xsl:template> <!-- siteindexTable template --> <xsl:template name="siteindexTable"> <h2>Number of Sitemaps in this Google SitemapIndex : <xsl:value-of select="count(sitemap:sitemapindex/sitemap:sitemap)"></xsl:value-of></h2> <br /> <table border="1" width="100%" class="forumline"> <tr class="header"> <td class="header_cell" nowrap="nowrap">Sitemap URL</td> <td class="header_cell" nowrap="nowrap">Last modification date</td> </tr> <xsl:apply-templates select="sitemap:sitemapindex/sitemap:sitemap"> <xsl:sort select="sitemap:lastmod" order="descending"/> </xsl:apply-templates> </table> </xsl:template> <!-- sitemapTable template --> <xsl:template name="sitemapTable"> <h2>Number of URLs in this Google Sitemap : <xsl:value-of select="count(sitemap:urlset/sitemap:url)"></xsl:value-of></h2> <br /> <table width="100%" class="forumline"> <tr class="header"> <td class="header_cell" nowrap="nowrap">Link</td> <td class="header_cell" nowrap="nowrap">Last modification date</td> <td class="header_cell" nowrap="nowrap">Change freq.</td> <td class="header_cell" nowrap="nowrap">Priority</td> </tr> <xsl:apply-templates select="sitemap:urlset/sitemap:url"> <xsl:sort select="sitemap:lastmod" order="descending"/> </xsl:apply-templates> </table> </xsl:template> <!-- sitemap:url template --> <xsl:template match="sitemap:url"> <tr> <td class="row1"> <xsl:variable name="sitemapURL"><xsl:value-of select="sitemap:loc"/></xsl:variable> <a href="{$sitemapURL}" target="_blank"><xsl:value-of select="$sitemapURL"></xsl:value-of></a> </td> <td class="row2"><xsl:value-of select="sitemap:lastmod"/></td> <td class="row3"><xsl:value-of select="sitemap:changefreq"/></td> <td class="row4"><xsl:value-of select="sitemap:priority"/></td> </tr> </xsl:template> <!-- sitemap:sitemap template --> <xsl:template match="sitemap:sitemap"> <tr> <td class="row1"> <xsl:variable name="sitemapURL"><xsl:value-of select="sitemap:loc"/></xsl:variable> <a href="{$sitemapURL}"><xsl:value-of select="$sitemapURL"></xsl:value-of></a> </td> <td class="row2"><xsl:value-of select="sitemap:lastmod"/></td> </tr> </xsl:template> </xsl:stylesheet> |