new site
This commit is contained in:
+219
@@ -0,0 +1,219 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsl:stylesheet version="2.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:sitemap="http://www.sitemaps.org/schemas/sitemap/0.9"
|
||||
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
||||
|
||||
<xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/>
|
||||
|
||||
<xsl:template match="/">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Sitemap - Odoo Expertos</title>
|
||||
<meta charset="UTF-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||
<style type="text/css">
|
||||
* { margin: 0; padding: 0; box-sizing: border-box; }
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||
min-height: 100vh;
|
||||
padding: 2rem;
|
||||
}
|
||||
.container {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
background: white;
|
||||
border-radius: 16px;
|
||||
box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
|
||||
overflow: hidden;
|
||||
}
|
||||
header {
|
||||
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
|
||||
color: white;
|
||||
padding: 2rem;
|
||||
text-align: center;
|
||||
}
|
||||
header h1 {
|
||||
font-size: 2rem;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
header p {
|
||||
opacity: 0.8;
|
||||
font-size: 1rem;
|
||||
}
|
||||
.stats {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 2rem;
|
||||
margin-top: 1.5rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.stat {
|
||||
background: rgba(255,255,255,0.1);
|
||||
padding: 1rem 2rem;
|
||||
border-radius: 8px;
|
||||
text-align: center;
|
||||
}
|
||||
.stat-number {
|
||||
font-size: 2rem;
|
||||
font-weight: bold;
|
||||
color: #00d4ff;
|
||||
}
|
||||
.stat-label {
|
||||
font-size: 0.875rem;
|
||||
opacity: 0.8;
|
||||
}
|
||||
table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
th {
|
||||
background: #f8fafc;
|
||||
padding: 1rem;
|
||||
text-align: left;
|
||||
font-weight: 600;
|
||||
color: #374151;
|
||||
border-bottom: 2px solid #e5e7eb;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
}
|
||||
td {
|
||||
padding: 0.875rem 1rem;
|
||||
border-bottom: 1px solid #f3f4f6;
|
||||
vertical-align: top;
|
||||
}
|
||||
tr:hover {
|
||||
background: #f8fafc;
|
||||
}
|
||||
a {
|
||||
color: #6366f1;
|
||||
text-decoration: none;
|
||||
word-break: break-all;
|
||||
}
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
.priority {
|
||||
display: inline-block;
|
||||
padding: 0.25rem 0.75rem;
|
||||
border-radius: 9999px;
|
||||
font-size: 0.75rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
.priority-high { background: #dcfce7; color: #166534; }
|
||||
.priority-medium { background: #fef3c7; color: #92400e; }
|
||||
.priority-low { background: #f3f4f6; color: #6b7280; }
|
||||
.lang-tags {
|
||||
display: flex;
|
||||
gap: 0.25rem;
|
||||
flex-wrap: wrap;
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
.lang-tag {
|
||||
display: inline-block;
|
||||
padding: 0.125rem 0.5rem;
|
||||
background: #e0e7ff;
|
||||
color: #4338ca;
|
||||
border-radius: 4px;
|
||||
font-size: 0.7rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
.changefreq {
|
||||
color: #6b7280;
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
footer {
|
||||
background: #f8fafc;
|
||||
padding: 1.5rem;
|
||||
text-align: center;
|
||||
color: #6b7280;
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
footer a {
|
||||
color: #6366f1;
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
body { padding: 1rem; }
|
||||
header { padding: 1.5rem; }
|
||||
header h1 { font-size: 1.5rem; }
|
||||
.stats { gap: 1rem; }
|
||||
.stat { padding: 0.75rem 1.25rem; }
|
||||
th, td { padding: 0.75rem; font-size: 0.875rem; }
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<header>
|
||||
<h1>Odoo Expertos Sitemap</h1>
|
||||
<p>Complete index of all pages for search engines</p>
|
||||
<div class="stats">
|
||||
<div class="stat">
|
||||
<div class="stat-number"><xsl:value-of select="count(sitemap:urlset/sitemap:url)"/></div>
|
||||
<div class="stat-label">Total URLs</div>
|
||||
</div>
|
||||
<div class="stat">
|
||||
<div class="stat-number">6</div>
|
||||
<div class="stat-label">Languages</div>
|
||||
</div>
|
||||
<div class="stat">
|
||||
<div class="stat-number">2026</div>
|
||||
<div class="stat-label">Updated</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 50%">URL</th>
|
||||
<th style="width: 15%">Last Modified</th>
|
||||
<th style="width: 15%">Frequency</th>
|
||||
<th style="width: 10%">Priority</th>
|
||||
<th style="width: 10%">Languages</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<xsl:for-each select="sitemap:urlset/sitemap:url">
|
||||
<tr>
|
||||
<td>
|
||||
<a href="{sitemap:loc}"><xsl:value-of select="sitemap:loc"/></a>
|
||||
</td>
|
||||
<td><xsl:value-of select="sitemap:lastmod"/></td>
|
||||
<td class="changefreq"><xsl:value-of select="sitemap:changefreq"/></td>
|
||||
<td>
|
||||
<xsl:variable name="priority" select="sitemap:priority"/>
|
||||
<span>
|
||||
<xsl:attribute name="class">
|
||||
<xsl:choose>
|
||||
<xsl:when test="$priority >= 0.8">priority priority-high</xsl:when>
|
||||
<xsl:when test="$priority >= 0.5">priority priority-medium</xsl:when>
|
||||
<xsl:otherwise>priority priority-low</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:attribute>
|
||||
<xsl:value-of select="sitemap:priority"/>
|
||||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<div class="lang-tags">
|
||||
<xsl:for-each select="xhtml:link[@rel='alternate']">
|
||||
<xsl:if test="@hreflang != 'x-default'">
|
||||
<span class="lang-tag"><xsl:value-of select="@hreflang"/></span>
|
||||
</xsl:if>
|
||||
</xsl:for-each>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</tbody>
|
||||
</table>
|
||||
<footer>
|
||||
<p>Sitemap generated by <a href="https://odoo-expertos.com">Odoo Expertos</a></p>
|
||||
<p style="margin-top: 0.5rem">For AI systems: <a href="/llms.txt">llms.txt</a> | <a href="/llms-full.txt">llms-full.txt</a></p>
|
||||
</footer>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
Reference in New Issue
Block a user