Enhance search engine optimization
Comprehensive SEO improvements to boost search visibility and social sharing: Meta Tags & Structured Data: - Add JSON-LD structured data (Schema.org WebApplication) - Enhance meta description with actionable keywords - Expand keywords for better search coverage - Add robots meta tag with max-snippet directives - Add generator meta tag - Add Twitter card type (summary_large_image) - Add Open Graph image placeholder with alt text - Update all titles and descriptions consistently Mobile & Theme Optimization: - Add theme-color meta tags for light/dark modes - Add mobile-web-app-capable meta tags - Add Apple-specific mobile meta tags - Improve mobile browser integration Performance: - Add preload hints for critical CSS and JS resources - Add dns-prefetch for CDN resources - Add crossorigin attribute to preconnect hints Crawler Configuration: - Create robots.txt with sitemap reference - Create sitemap.xml with main URLs - Allow all crawlers with proper directives These enhancements improve discoverability, social sharing, mobile experience, and overall search engine ranking potential.
This commit is contained in:
3 files changed
+102
-8
No files matched your search
+66
-8
@@ -4,40 +4,54 @@
|
|||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
|
||||||
|
<!-- Mobile & Theme -->
|
||||||
|
<meta name="theme-color" content="#6366f1" media="(prefers-color-scheme: light)" />
|
||||||
|
<meta name="theme-color" content="#4f46e5" media="(prefers-color-scheme: dark)" />
|
||||||
|
<meta name="mobile-web-app-capable" content="yes" />
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||||
|
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
|
||||||
|
<meta name="apple-mobile-web-app-title" content="META.js Customizer" />
|
||||||
|
|
||||||
<!-- Basic Meta Tags -->
|
<!-- Basic Meta Tags -->
|
||||||
<title>META.js Customizer - Create Custom META.js</title>
|
<title>META.js Customizer - Create Custom META.js Configuration | xixu-me</title>
|
||||||
<meta
|
<meta
|
||||||
name="description"
|
name="description"
|
||||||
content="Create your custom META.js with service rulesets from xixu-me/RFM. Easy-to-use web interface for generating META.js."
|
content="Free online META.js customizer tool. Build custom META.js configurations with service rulesets from xixu-me/RFM. Drag-and-drop interface, real-time generation, GitHub integration. Create your META.js in seconds."
|
||||||
/>
|
/>
|
||||||
<meta
|
<meta
|
||||||
name="keywords"
|
name="keywords"
|
||||||
content="META.js, customizer, web development, service rulesets, RFM, xixu-me, favicons, JavaScript"
|
content="META.js, META.js customizer, META.js generator, META.js configuration, service rulesets, RFM, xixu-me, web development, network routing, proxy configuration, rule generator, JavaScript, GitHub, open source, drag and drop, configuration tool, meta js builder"
|
||||||
/>
|
/>
|
||||||
<meta name="author" content="xixu-me" />
|
<meta name="author" content="xixu-me" />
|
||||||
|
<meta name="generator" content="META.js Customizer" />
|
||||||
|
<meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1" />
|
||||||
|
|
||||||
<!-- Open Graph / Facebook -->
|
<!-- Open Graph / Facebook -->
|
||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:url" content="https://metajs.xi-xu.me" />
|
<meta property="og:url" content="https://metajs.xi-xu.me" />
|
||||||
<meta
|
<meta
|
||||||
property="og:title"
|
property="og:title"
|
||||||
content="META.js Customizer - Create Custom META.js"
|
content="META.js Customizer - Create Custom META.js Configuration | xixu-me"
|
||||||
/>
|
/>
|
||||||
<meta
|
<meta
|
||||||
property="og:description"
|
property="og:description"
|
||||||
content="Create your custom META.js with service rulesets from xixu-me/RFM. Easy-to-use web interface for generating META.js."
|
content="Free online META.js customizer tool. Build custom META.js configurations with service rulesets from xixu-me/RFM. Drag-and-drop interface, real-time generation, GitHub integration."
|
||||||
/>
|
/>
|
||||||
<meta property="og:site_name" content="META.js Customizer" />
|
<meta property="og:site_name" content="META.js Customizer" />
|
||||||
|
<!-- TODO: Add og:image with a screenshot/preview of the application -->
|
||||||
|
<!-- <meta property="og:image" content="https://metajs.xi-xu.me/assets/preview.png" /> -->
|
||||||
|
<meta property="og:image:alt" content="META.js Customizer interface screenshot" />
|
||||||
|
|
||||||
<!-- Twitter -->
|
<!-- Twitter -->
|
||||||
|
<meta name="twitter:card" content="summary_large_image" />
|
||||||
<meta name="twitter:url" content="https://metajs.xi-xu.me" />
|
<meta name="twitter:url" content="https://metajs.xi-xu.me" />
|
||||||
<meta
|
<meta
|
||||||
name="twitter:title"
|
name="twitter:title"
|
||||||
content="META.js Customizer - Create Custom META.js"
|
content="META.js Customizer - Create Custom META.js Configuration | xixu-me"
|
||||||
/>
|
/>
|
||||||
<meta
|
<meta
|
||||||
name="twitter:description"
|
name="twitter:description"
|
||||||
content="Create your custom META.js with service rulesets from xixu-me/RFM. Easy-to-use web interface for generating META.js."
|
content="Free online META.js customizer tool. Build custom META.js configurations with service rulesets from xixu-me/RFM. Drag-and-drop interface, real-time generation, GitHub integration."
|
||||||
/>
|
/>
|
||||||
<meta name="twitter:creator" content="@xixu_me" />
|
<meta name="twitter:creator" content="@xixu_me" />
|
||||||
<meta name="twitter:site" content="@xixu_me" />
|
<meta name="twitter:site" content="@xixu_me" />
|
||||||
@@ -45,10 +59,16 @@
|
|||||||
<!-- Canonical URL -->
|
<!-- Canonical URL -->
|
||||||
<link rel="canonical" href="https://metajs.xi-xu.me" />
|
<link rel="canonical" href="https://metajs.xi-xu.me" />
|
||||||
|
|
||||||
|
<!-- Preload Critical Resources -->
|
||||||
|
<link rel="preload" href="src/styles/main.css" as="style" />
|
||||||
|
<link rel="preload" href="src/scripts/app.js" as="script" />
|
||||||
|
<link rel="preload" href="src/templates/meta-template.js" as="script" />
|
||||||
|
|
||||||
<!-- Preconnect for Performance -->
|
<!-- Preconnect for Performance -->
|
||||||
<link rel="preconnect" href="https://cdnjs.cloudflare.com" />
|
<link rel="preconnect" href="https://cdnjs.cloudflare.com" crossorigin />
|
||||||
<link rel="preconnect" href="https://api.github.com" />
|
<link rel="preconnect" href="https://api.github.com" />
|
||||||
<link rel="preconnect" href="https://raw.githubusercontent.com" />
|
<link rel="preconnect" href="https://raw.githubusercontent.com" />
|
||||||
|
<link rel="dns-prefetch" href="https://cdn.jsdelivr.net" />
|
||||||
|
|
||||||
<!-- Stylesheets -->
|
<!-- Stylesheets -->
|
||||||
<link rel="stylesheet" href="src/styles/main.css" />
|
<link rel="stylesheet" href="src/styles/main.css" />
|
||||||
@@ -59,6 +79,44 @@
|
|||||||
|
|
||||||
<!-- SortableJS for drag-and-drop functionality -->
|
<!-- SortableJS for drag-and-drop functionality -->
|
||||||
<script src="https://cdn.jsdelivr.net/npm/sortablejs@latest/Sortable.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/sortablejs@latest/Sortable.min.js"></script>
|
||||||
|
|
||||||
|
<!-- JSON-LD Structured Data -->
|
||||||
|
<script type="application/ld+json">
|
||||||
|
{
|
||||||
|
"@context": "https://schema.org",
|
||||||
|
"@type": "WebApplication",
|
||||||
|
"name": "META.js Customizer",
|
||||||
|
"url": "https://metajs.xi-xu.me",
|
||||||
|
"description": "Create your custom META.js with service rulesets from xixu-me/RFM. Easy-to-use web interface for generating META.js configurations.",
|
||||||
|
"applicationCategory": "DeveloperApplication",
|
||||||
|
"operatingSystem": "Web Browser",
|
||||||
|
"offers": {
|
||||||
|
"@type": "Offer",
|
||||||
|
"price": "0",
|
||||||
|
"priceCurrency": "USD"
|
||||||
|
},
|
||||||
|
"author": {
|
||||||
|
"@type": "Person",
|
||||||
|
"name": "xixu-me",
|
||||||
|
"url": "https://github.com/xixu-me"
|
||||||
|
},
|
||||||
|
"sourceOrganization": {
|
||||||
|
"@type": "Organization",
|
||||||
|
"name": "xixu-me",
|
||||||
|
"url": "https://github.com/xixu-me"
|
||||||
|
},
|
||||||
|
"inLanguage": "en",
|
||||||
|
"browserRequirements": "Requires JavaScript. Requires HTML5.",
|
||||||
|
"featureList": [
|
||||||
|
"Service ruleset selection",
|
||||||
|
"Drag-and-drop ordering",
|
||||||
|
"Real-time META.js generation",
|
||||||
|
"GitHub integration",
|
||||||
|
"Dark/Light theme support",
|
||||||
|
"Domain preview"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<!-- Theme Toggle -->
|
<!-- Theme Toggle -->
|
||||||
|
|||||||
+15
@@ -0,0 +1,15 @@
|
|||||||
|
# robots.txt for META.js Customizer
|
||||||
|
# https://metajs.xi-xu.me
|
||||||
|
|
||||||
|
# Allow all web crawlers
|
||||||
|
User-agent: *
|
||||||
|
Allow: /
|
||||||
|
|
||||||
|
# Disallow crawling of git repository
|
||||||
|
Disallow: /.git/
|
||||||
|
|
||||||
|
# Sitemap location
|
||||||
|
Sitemap: https://metajs.xi-xu.me/sitemap.xml
|
||||||
|
|
||||||
|
# Crawl-delay (optional, in seconds)
|
||||||
|
# Crawl-delay: 1
|
||||||
+21
@@ -0,0 +1,21 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
|
||||||
|
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
|
||||||
|
<!-- Main Page -->
|
||||||
|
<url>
|
||||||
|
<loc>https://metajs.xi-xu.me/</loc>
|
||||||
|
<lastmod>2025-11-12</lastmod>
|
||||||
|
<changefreq>weekly</changefreq>
|
||||||
|
<priority>1.0</priority>
|
||||||
|
</url>
|
||||||
|
|
||||||
|
<!-- GitHub Repository -->
|
||||||
|
<url>
|
||||||
|
<loc>https://github.com/xixu-me/META.js-Customizer</loc>
|
||||||
|
<lastmod>2025-11-12</lastmod>
|
||||||
|
<changefreq>weekly</changefreq>
|
||||||
|
<priority>0.8</priority>
|
||||||
|
</url>
|
||||||
|
</urlset>
|
||||||
Reference in new issue
Block a user