Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions support/snaplingo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
<title>SnapLingo: Learn Vocabulary With Photos | Android</title>
<meta property="og:type" content="website">
<meta property="og:title" content="SnapLingo: Learn Vocabulary With Photos | Android">
<meta property="og:description" content="Discover SnapLingo, the Android vocabulary app that helps you learn words from photos. See its features and get it on Google Play.">
<meta property="og:description" content="SnapLingo is an Android photo vocabulary app. Use your camera to learn words in 17 languages, review flashcards and set daily goals. See it on Google Play.">
<meta property="og:url" content="https://appdevelopsk.com/support/snaplingo/">
<meta property="og:image" content="https://appdevelopsk.com/og-image.png">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:description" content="Discover SnapLingo, the Android vocabulary app that helps you learn words from photos. See its features and get it on Google Play.">
<script type="application/ld+json">{"@context":"https://schema.org","@type":"SoftwareApplication","name":"SnapLingo: Learn from Photos","applicationCategory":"EducationalApplication","operatingSystem":"Android","url":"https://play.google.com/store/apps/details?id=com.appdevelopsk.snaplingo","publisher":{"@type":"Organization","name":"SK Apps","url":"https://appdevelopsk.com/"}}</script>
<meta name="description" content="Discover SnapLingo, the Android vocabulary app that helps you learn words from photos. See its features and get it on Google Play."/>
<meta name="twitter:description" content="SnapLingo is an Android photo vocabulary app. Use your camera to learn words in 17 languages, review flashcards and set daily goals. See it on Google Play.">
<script type="application/ld+json">{"@context":"https://schema.org","@type":"SoftwareApplication","name":"SnapLingo: Learn from Photos","applicationCategory":"EducationalApplication","operatingSystem":"Android","description":"SnapLingo is an Android photo vocabulary app. Use your camera to learn words in 17 languages, review flashcards and set daily goals. See it on Google Play.","url":"https://play.google.com/store/apps/details?id=com.appdevelopsk.snaplingo","publisher":{"@type":"Organization","name":"SK Apps","url":"https://appdevelopsk.com/"}}</script>
<meta name="description" content="SnapLingo is an Android photo vocabulary app. Use your camera to learn words in 17 languages, review flashcards and set daily goals. See it on Google Play."/>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
<style>
Expand Down
16 changes: 16 additions & 0 deletions tests/search-landing-growth.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,19 @@ test('production smoke refuses the stale anime-only Dotchi catalog card',()=>{
assert.match(live,/FAIL Dotchi catalog still presents an anime-only app/);
assert.match(live,/fetch '\/apps' 'apps\.html'/);
});

test('SnapLingo search snippet matches visible features and structured data', () => {
const html=read('support/snaplingo/index.html');
const desc=html.match(/<meta name="description" content="([^"]+)"/)?.[1];
const og=html.match(/<meta property="og:description" content="([^"]+)"/)?.[1];
const twitter=html.match(/<meta name="twitter:description" content="([^"]+)"/)?.[1];
const schema=html.match(/<script type="application\/ld\+json">([\s\S]*?)<\/script>/)?.[1];
assert.ok(desc && desc.length<=160);
assert.equal(desc,og);
assert.equal(desc,twitter);
assert.match(desc,/SnapLingo.*camera.*17 languages.*flashcards/);
assert.equal(JSON.parse(schema).description,desc);
assert.match(html,/data-feat="0">Camera-based word learning/);
assert.match(html,/data-feat="1">17 languages supported/);
assert.match(html,/data-feat="2">Vocabulary flashcards/);
});
Loading