-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
161 lines (161 loc) · 8.34 KB
/
index.html
File metadata and controls
161 lines (161 loc) · 8.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
<!DOCTYPE html>
<html lang="en">
<head>
<title>ukriu!embedbuilder</title>
<link rel="stylesheet" href="res/styles.css">
<!-- Primary Meta Tags -->
<meta http-equiv="CONTENT-TYPE" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="robots" content="index, follow">
<meta name="title" content="ukriu!embedbuilder">
<meta name="description" content="Generate Meta Tags for your website to create embeds on social media sites or any sharing platform!">
<meta name="theme-color" content="#000000">
<!-- Open Graph / Facebook -->
<meta property="og:title" content="ukriu!embedbuilder">
<meta property="og:description" content="Generate Meta Tags for your website to create embeds on social media sites or any sharing platform!">
<meta property="og:url" content="https://embedbuilder.ukriu.com">
<meta property="og:image" content="https://embedbuilder.ukriu.com/res/media/meta-img.png">
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
</head>
<body>
<header>
<h1>ukrio!embedbuilder</h1>
</header>
<main class="content">
<noscript>
<p>Your browser does not support <code>JavaScript</code> scripts and/or does not have them enabled.<br>This site depends on the availability of <code>JavaScript</code> to function correctly.<br>Please turn on <code>JavaScript</code> for opitimal use.</p>
</noscript>
<form id="metaForm">
<hr>
<h2>Primary Meta Tags</h2>
<hr>
<br>
<div class="form-group">
<label for="charset">Charset</label>
<select id="charset" name="charset">
<option value="">None</option>
<option value="UTF-8">UTF-8 [Default]</option>
<option value="ISO-8859-1">ISO-8859-1</option>
<option value="UTF-16">UTF-16</option>
</select>
</div>
<div class="form-group">
<label for="viewport">Viewport</label>
<select id="viewport" name="viewport">
<option value="">None</option>
<option value="width=device-width, initial-scale=1.0">Default [Scale=1.0]</option>
<option value="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">Default + No User Scaling</option>
<option value="width=device-width, initial-scale=1.0, maximum-scale=2.0, user-scalable=yes">Default+ Scaling Allowed [Scale= 1.0 Upto 2.0]</option>
</select>
</div>
<div class="form-group">
<label for="xuaCompatible">X-UA-Compatible</label>
<select id="xuaCompatible" name="xuaCompatible">
<option value="">None</option>
<option value="ie=edge">IE=Edge</option>
<option value="chrome=1">Chrome=1</option>
</select>
</div>
<div class="form-group">
<label for="robots">Robots</label>
<select id="robots" name="robots">
<option value="">None</option>
<option value="index, follow">index, follow</option>
<option value="noindex, follow">noindex, follow</option>
<option value="index, nofollow">index, nofollow</option>
<option value="noindex, nofollow">noindex, nofollow</option>
</select>
</div>
<div class="form-group">
<label for="title">Title</label>
<input type="text" id="title" name="title" placeholder="Enter title">
</div>
<div class="form-group">
<label for="description">Description</label>
<input type="text" id="description" name="description" placeholder="Enter description">
</div>
<div class="form-group">
<label for="themeColor">Theme Color</label>
<input type="color" id="themeColor" name="themeColor" value="#000000">
<input type="text" id="themeColorManual" name="themeColorManual" placeholder="#000000" style="display:none">
<div class="toggle-container">
<label for="manualColorToggle">Enter HEX Color Code Manually</label>
<input type="checkbox" id="manualColorToggle">
</div>
</div>
<hr>
<h2>Open Graph / Facebook Meta Tags</h2>
<hr>
<br>
<div class="form-group">
<label for="ogUrl">Open Graph URL</label>
<input type="text" id="ogUrl" name="ogUrl" placeholder="Enter Open Graph URL">
</div>
<div class="form-group">
<label for="ogImage">Open Graph Image URL</label>
<input type="text" id="ogImage" name="ogImage" placeholder="Enter Open Graph Image URL">
</div>
<div class="form-group" style="display: none;">
<label for="ogImageAlt">Open Graph Image Alt</label>
<input type="text" id="ogImageAlt" namw="ogImageAlt" placeholder="Enter text describing the Image">
</div>
<div class="form-group">
<label for="customOG">Configure Open Graph Tags Separately</label>
<input type="checkbox" id="customOG" name="customOG">
</div>
<div id="og-fields" style="display:none">
<div class="form-group">
<label for="ogTitle">Open Graph Title</label>
<input type="text" id="ogTitle" name="ogTitle" placeholder="Enter Open Graph title">
</div>
<div class="form-group">
<label for="ogDescription">Open Graph Description</label>
<input type="text" id="ogDescription" name="ogDescription" placeholder="Enter Open Graph description">
</div>
</div>
<hr>
<h2>Twitter Meta Tags</h2>
<hr>
<br>
<div class="form-group">
<label for="twitterCard">Twitter Card</label>
<select id="twitterCard" name="twitterCard">
<option value="">None</option>
<option value="summary">Summary</option>
<option value="summary_large_image">Summary Large Image</option>
<option value="app">App</option>
<option value="player">Player</option>
</select>
</div>
<div class="form-group">
<label for="showTwitterCustom">Show Additional Twitter Meta Tag Customization</label>
<input type="checkbox" id="showTwitterCustom" name="showTwitterCustom">
</div>
<div id="twitter-custom-fields" style="display:none">
<div class="form-group">
<label for="twitterSite">Twitter Site</label>
<input type="text" id="twitterSite" name="twitterSite" placeholder="Enter Twitter @username for the site">
</div>
<div class="form-group">
<label for="twitterCreator">Twitter Creator</label>
<input type="text" id="twitterCreator" name="twitterCreator" placeholder="Enter Twitter @username of content creator">
</div>
<div class="form-group">
<label for="twitterImage">Twitter Image URL</label>
<input type="text" id="twitterImage" name="twitterImage" placeholder="Enter Twitter image URL">
</div>
</div>
Generated Output:
<textarea id="generatedMetaTags" rows="20" readonly="readonly"></textarea>
<button type="button" id="copyButton">Copy Meta Tags</button>
</form>
</main>
<footer>
<p class="author">Created by <a href="https://ukriu.com">ukriu</a><br>Fully Open Source on GitHub, <a target="_blank" href="https://github.com/ukriu/embedbuilder">click here for the repository.</a></p>
<p class="author"><a href="https://ukriu.com">Click here to go back to main site.</a></p>
</footer>
<script src="res/script.js"></script>
</body>
</html>