meta_oxide 0.1.1

Universal metadata extraction library supporting 13 formats (HTML Meta, Open Graph, Twitter Cards, JSON-LD, Microdata, Microformats, RDFa, Dublin Core, Web App Manifest, oEmbed, rel-links, Images, SEO) with 7 language bindings
Documentation
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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
# MetaOxide Roadmap - Prioritized by Adoption

**MetaOxide** is a comprehensive structured data extraction library. This roadmap is **ordered by real-world adoption statistics** to maximize impact.

## Vision

Extract ALL structured data from web pages in a single, fast, type-safe library with Python bindings.

## Priority Strategy

**Phases are ordered by adoption rate** - we build what websites actually use first:

1. **100% adoption** → Phase 1 (Standard Meta)
2. **60% adoption** → Phase 2 (Open Graph)
3. **45% adoption** → Phase 2 (Twitter Cards)
4. **41% adoption ↗️** → Phase 3 (JSON-LD - HIGHEST IMPACT)
5. **26% adoption ↘️** → Phase 4 (Microdata)
6. **5-10% adoption** → Phase 7 (Microformats - LOW priority)
7. **<10% adoption** → Phase 8+ (RDFa, Dublin Core - VERY LOW)

---

## Structured Data Formats - By Popularity

### Phase 1: Standard HTML Meta Tags (100% of websites) 🎯

**Status**: Planned - FOUNDATION
**Priority**: CRITICAL (universal)
**Adoption**: 100% of websites

Every website has these. Essential foundation.

#### Basic Meta Tags

```html
<title>Page Title</title>
<meta name="description" content="Page description for search results">
<meta name="keywords" content="keyword1, keyword2">
<meta name="author" content="Author Name">
<meta name="robots" content="index, follow">
<meta name="googlebot" content="index, follow">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#ffffff">
<meta name="generator" content="WordPress 6.0">
```

**Properties to extract**:
- [ ] title (also from `<title>` tag)
- [ ] description
- [ ] keywords
- [ ] author
- [ ] robots (index, follow, noindex, nofollow)
- [ ] googlebot (Google-specific directives)
- [ ] viewport
- [ ] theme-color
- [ ] generator

#### Link Elements

```html
<link rel="canonical" href="https://example.com/page">
<link rel="alternate" type="application/rss+xml" href="/feed.xml" title="RSS">
<link rel="alternate" type="application/atom+xml" href="/atom.xml" title="Atom">
<link rel="alternate" hreflang="es" href="https://example.com/es/">
<link rel="prev" href="https://example.com/page/1">
<link rel="next" href="https://example.com/page/3">
<link rel="icon" type="image/png" href="/favicon.png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="manifest" href="/manifest.json">
```

**Properties to extract**:
- [ ] canonical URL
- [ ] RSS feed links
- [ ] Atom feed links
- [ ] Alternate language versions (hreflang)
- [ ] Pagination (prev/next)
- [ ] Favicons (all sizes)
- [ ] Apple touch icons (all sizes)
- [ ] PWA manifest link

**Use Case**: Foundation for all websites, basic SEO, browser features
**Impact**: CRITICAL - needed by every site

---

### Phase 2: Social Media Meta (60%+ adoption) 🚀

**Status**: Planned - HIGH PRIORITY
**Priority**: VERY HIGH
**Adoption**: Open Graph 60%+, Twitter 45%

#### Open Graph Protocol (Facebook, LinkedIn, WhatsApp)

```html
<meta property="og:title" content="Amazing Article">
<meta property="og:type" content="article">
<meta property="og:url" content="https://example.com/article">
<meta property="og:image" content="https://example.com/image.jpg">
<meta property="og:description" content="Description">
<meta property="og:site_name" content="My Website">
<meta property="og:locale" content="en_US">
```

**Basic Properties**:
- [ ] og:title
- [ ] og:type (article, website, video, etc.)
- [ ] og:url
- [ ] og:image (+ og:image:width, og:image:height, og:image:alt)
- [ ] og:description
- [ ] og:site_name
- [ ] og:locale

**Article-specific**:
- [ ] article:published_time
- [ ] article:modified_time
- [ ] article:author
- [ ] article:section
- [ ] article:tag

**Video-specific**:
- [ ] video:url, video:secure_url
- [ ] video:type, video:width, video:height
- [ ] video:duration

**Other Types**:
- [ ] Profile (first_name, last_name, username)
- [ ] Book (author, isbn, release_date)
- [ ] Music (duration, album, musician)

**Adoption**: 60%+ of websites
**Use Case**: Facebook, LinkedIn, Slack, Discord, WhatsApp previews
**Impact**: VERY HIGH - controls social sharing appearance

#### Twitter Cards

```html
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@website">
<meta name="twitter:creator" content="@author">
<meta name="twitter:title" content="Article Title">
<meta name="twitter:description" content="Description">
<meta name="twitter:image" content="https://example.com/image.jpg">
<meta name="twitter:image:alt" content="Image description">
```

**Card Types**:
- [ ] summary
- [ ] summary_large_image
- [ ] app
- [ ] player

**Properties**:
- [ ] twitter:card
- [ ] twitter:site
- [ ] twitter:creator
- [ ] twitter:title
- [ ] twitter:description
- [ ] twitter:image
- [ ] twitter:image:alt
- [ ] App cards: app:id:iphone, app:id:googleplay, app:url
- [ ] Player cards: player:url, player:width, player:height

**Adoption**: 45% of websites
**Use Case**: Twitter/X link previews
**Impact**: VERY HIGH - Twitter is still major platform

**Note**: Twitter falls back to Open Graph if Twitter tags are missing, but explicit Twitter tags provide better control.

---

### Phase 3: Schema.org JSON-LD (41% adoption ↗️) ⚡

**Status**: Planned - HIGHEST IMPACT
**Priority**: CRITICAL (growing fast!)
**Adoption**: 41% and rising rapidly

**Why this is #1 priority after basics:**
- Google Rich Results eligibility
- AI/LLM training data (ChatGPT, Claude, etc.)
- Fastest growing format
- E-commerce essential
- Future-proof

```html
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Article",
  "headline": "Amazing Article",
  "datePublished": "2024-01-15T10:00:00Z"
}
</script>
```

#### Phase 3.1: Core Content Types (Most Common)

**Article Types** (blogs, news, content sites):
- [ ] Article
- [ ] NewsArticle
- [ ] BlogPosting
- [ ] TechArticle
- [ ] ScholarlyArticle

**Web Structure**:
- [ ] WebPage
- [ ] WebSite
- [ ] SearchAction (for site search)
- [ ] BreadcrumbList

**Properties**:
- headline, description, image, datePublished, dateModified
- author (Person/Organization), publisher
- articleBody, articleSection
- wordCount, keywords

#### Phase 3.2: E-commerce (Critical for online stores)

**Product & Offers**:
- [ ] Product
- [ ] Offer / AggregateOffer
- [ ] Brand
- [ ] Review
- [ ] AggregateRating

**Properties**:
- name, description, image, sku, gtin, mpn
- brand, manufacturer
- offers (price, priceCurrency, availability)
- aggregateRating (ratingValue, reviewCount, bestRating)
- review (author, reviewRating, reviewBody)

#### Phase 3.3: People & Organizations

- [ ] Person
- [ ] Organization
- [ ] LocalBusiness (+ all subtypes)
- [ ] ContactPoint
- [ ] PostalAddress

**Properties**:
- name, url, image, logo
- address (streetAddress, addressLocality, postalCode, etc.)
- telephone, email
- openingHours, geo (latitude, longitude)
- sameAs (social media profiles)

#### Phase 3.4: Events

- [ ] Event
- [ ] VirtualLocation
- [ ] Place

**Properties**:
- name, description, startDate, endDate
- location (Place or VirtualLocation)
- organizer, performer
- offers (ticket info)
- eventStatus, eventAttendanceMode

#### Phase 3.5: Recipes & HowTo

- [ ] Recipe
- [ ] HowTo
- [ ] HowToStep
- [ ] NutritionInformation

**Recipe Properties**:
- name, image, description, author
- recipeIngredient, recipeInstructions
- prepTime, cookTime, totalTime
- recipeYield, recipeCategory, recipeCuisine
- nutrition (calories, fatContent, etc.)
- aggregateRating, review

#### Phase 3.6: Job Postings

- [ ] JobPosting

**Properties**:
- title, description, datePosted
- hiringOrganization, jobLocation
- baseSalary, employmentType
- validThrough

#### Phase 3.7: FAQ & Q&A

- [ ] FAQPage
- [ ] Question
- [ ] Answer

#### Phase 3.8: Media Objects

- [ ] VideoObject
- [ ] AudioObject
- [ ] ImageObject
- [ ] MediaObject

**Adoption**: 41% of websites (2024), growing rapidly
**E-commerce adoption**: 41% (critical for product pages)
**Use Case**: Google Rich Results, AI training, voice search, knowledge graphs
**Impact**: ⚡ HIGHEST - enables Rich Results, future-proof for AI

---

### Phase 4: Microdata (26% adoption ↘️) 📉

**Status**: Planned
**Priority**: MEDIUM (declining but still significant)
**Adoption**: 26% of websites, declining

HTML5 specification using Schema.org vocabulary inline in HTML.

```html
<div itemscope itemtype="https://schema.org/Person">
  <span itemprop="name">Jane Doe</span>
  <span itemprop="jobTitle">Software Engineer</span>
  <div itemprop="address" itemscope itemtype="https://schema.org/PostalAddress">
    <span itemprop="streetAddress">123 Main St</span>
  </div>
</div>
```

**Implementation**:
- [ ] Parse itemscope, itemtype, itemprop attributes
- [ ] Support same Schema.org types as JSON-LD
- [ ] Convert to unified format
- [ ] Handle nested items

**Adoption**: 26% of websites
**Trend**: Declining (Google recommends migrating to JSON-LD)
**Use Case**: Older sites, inline markup preference
**Impact**: MEDIUM - still used but being phased out

---

### Phase 5: Content Discovery & Embedding 🔗

**Status**: Planned
**Priority**: MEDIUM-HIGH (high utility)
**Adoption**: Moderate but essential features

#### oEmbed Protocol

```html
<link rel="alternate" type="application/json+oembed"
      href="https://example.com/oembed?url=...">
```

- [ ] Detect oEmbed links
- [ ] Fetch and parse oEmbed JSON
- [ ] Support: video, photo, rich, link types
- [ ] Popular providers: YouTube, Twitter, Instagram, Vimeo, Spotify

**Use Case**: Embedded content, CMS integrations, rich previews
**Impact**: HIGH - critical for content platforms

#### rel-* Microformats (Link Relationships)

```html
<a rel="author" href="...">Author Page</a>
<a rel="license" href="...">License</a>
<a rel="me" href="https://twitter.com/me">Twitter</a>
<a rel="tag" href="...">Tag</a>
```

- [ ] rel="author" - Author attribution
- [ ] rel="license" - Content licensing
- [ ] rel="me" - Identity consolidation (IndieWeb)
- [ ] rel="tag" - Tag/category links
- [ ] rel="nofollow", rel="noopener", rel="noreferrer" - SEO/security
- [ ] rel="canonical" - Already in Phase 1
- [ ] rel="alternate" - Already in Phase 1

**Use Case**: Author attribution, IndieWeb, SEO
**Impact**: MEDIUM

---

### Phase 6: Verification & Platform Integration 🔐

**Status**: Planned
**Priority**: MEDIUM
**Adoption**: Common on business sites

#### Site Verification

```html
<meta name="google-site-verification" content="...">
<meta name="msvalidate.01" content="...">
<meta name="yandex-verification" content="...">
<meta name="p:domain_verify" content="...">
```

- [ ] Google Search Console
- [ ] Bing Webmaster Tools
- [ ] Yandex Webmaster
- [ ] Pinterest domain verification

#### Platform IDs

```html
<meta property="fb:app_id" content="...">
<meta property="fb:admins" content="...">
```

- [ ] Facebook App ID
- [ ] Facebook Admins

**Use Case**: Prove site ownership, platform integration
**Impact**: MEDIUM - common on business sites

---

### Phase 7: Microformats2 (5-10% adoption) 📝

**Status**: Partially Implemented
**Priority**: LOW-MEDIUM (niche but valuable)
**Adoption**: 5-10% of websites

**Note**: Despite low adoption, microformats are important for:
- IndieWeb community
- Semantic HTML
- Decentralized social web
- Some forward-thinking sites

Currently Implemented:
- [x] h-card - Contact information
- [x] h-entry - Blog posts, articles
- [x] h-event - Events

Planned:
- [ ] h-feed - Content feeds
- [ ] h-review - Reviews
- [ ] h-product - Products
- [ ] h-recipe - Recipes
- [ ] h-adr - Physical addresses
- [ ] h-geo - Geographic coordinates
- [ ] h-resume - Resumes/CVs
- [ ] h-review-aggregate - Aggregate reviews
- [ ] h-item - Generic items
- [ ] h-listing - Classified listings

#### XFN (XHTML Friends Network)

```html
<a rel="friend met" href="...">Friend</a>
```

- [ ] Social relationship markup
- [ ] Multiple values: friend, colleague, met, etc.

**Adoption**: 5-10% of websites
**Use Case**: IndieWeb, semantic HTML, decentralized social
**Impact**: LOW - niche but growing community

**Why still include?**
- Important for IndieWeb movement
- Clean, semantic HTML
- No external dependencies
- Good for personal sites/blogs
- Future-proof for decentralized web

---

### Phase 10: Progressive Web Apps - COMPLETE ✅

**Status**: ✅ **Fully Implemented**
**Priority**: MEDIUM-HIGH (growing with PWAs)
**Adoption**: Growing rapidly with Progressive Web App adoption

#### Web App Manifest

```html
<link rel="manifest" href="/manifest.json">
```

- [x] Detect manifest link from HTML
- [x] Parse manifest.json with full W3C spec compliance
- [x] Extract all standard fields:
  - [x] name, short_name, description
  - [x] icons (with sizes, type, purpose)
  - [x] theme_color, background_color
  - [x] display, orientation
  - [x] start_url, scope
  - [x] shortcuts (app shortcuts with icons)
  - [x] screenshots (for app stores)
  - [x] categories, IARC rating, language, related apps
- [x] Automatic URL resolution for all relative URLs
- [x] 30 comprehensive tests

**Use Case**: Installable web apps, app-like experience, PWA development
**Impact**: MEDIUM-HIGH - essential for PWA ecosystem
**Status**: ✅ **Fully Implemented** (v0.1.0)

#### Mobile App Meta

```html
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="msapplication-TileColor" content="#ffffff">
```

**Apple**:
- [ ] apple-mobile-web-app-capable
- [ ] apple-mobile-web-app-status-bar-style
- [ ] apple-mobile-web-app-title
- [ ] apple-touch-icon (all sizes)
- [ ] apple-touch-startup-image

**Microsoft**:
- [ ] msapplication-TileColor
- [ ] msapplication-TileImage
- [ ] msapplication-config
- [ ] All tile sizes (70x70, 150x150, 310x150, 310x310)

**Adoption**: Moderate and growing
**Use Case**: PWAs, mobile web apps, home screen icons
**Impact**: MEDIUM - growing importance

---

### Phase 8: RDFa (62% adoption on desktop) 📚 - COMPLETE ✅

**Status**: ✅ **Fully Implemented**
**Priority**: HIGH (widespread adoption)
**Adoption**: 62% of desktop pages (HTTP Archive 2024)

W3C standard for semantic web markup.

```html
<div vocab="https://schema.org/" typeof="Person">
  <span property="name">Jane Doe</span>
  <span property="jobTitle">Software Engineer</span>
</div>
```

- [x] vocab, typeof, property, about, resource attributes
- [x] Schema.org vocabulary support
- [x] CURIE prefix expansion (schema, foaf, dc, og, xsd, rdf, rdfs)
- [x] Custom prefix support via prefix attribute
- [x] Nested item extraction
- [x] Content attribute override
- [x] Datatype support (xsd:decimal, xsd:dateTime, etc.)
- [x] Full URL resolution for resource values
- [x] 45 comprehensive tests

**Adoption**: 62% of desktop websites (surprisingly high!)
**Use Case**: Government sites, academic institutions, semantic web, Schema.org structured data
**Impact**: HIGH - significant adoption, especially in academic/government sectors
**Status**: ✅ **Fully Implemented** (v0.1.0)

---

### Phase 10: Academic & Legacy Formats (<5% adoption) 🏛️

**Status**: Planned
**Priority**: VERY LOW
**Adoption**: <5% of websites

#### Dublin Core

```html
<meta name="DC.title" content="Document Title">
<meta name="DC.creator" content="Author Name">
<meta name="DC.date" content="2024-01-15">
```

**All 15 core elements**:
- [ ] DC.title, DC.creator, DC.date
- [ ] DC.description, DC.subject, DC.publisher
- [ ] DC.contributor, DC.type, DC.format
- [ ] DC.identifier (ISBN, DOI), DC.source
- [ ] DC.language, DC.relation, DC.coverage
- [ ] DC.rights

**Adoption**: <5% (academic, library, government)
**Use Case**: Digital libraries, archives, institutional repositories
**Impact**: VERY LOW - extremely niche

---

## Implementation Timeline

### Q1 2024: Foundation ✅
- [x] Project structure
- [x] Basic microformats (h-card, h-entry, h-event)
- [x] Python bindings
- [x] Documentation

### Q2 2024: Essential Meta ✅
- [x] **Phase 1**: Standard HTML meta tags (100% adoption)
- [x] **Phase 2**: Open Graph (60%) + Twitter Cards (45%)
- [x] Basic testing and validation

### Q3 2024: JSON-LD & Advanced Formats ✅
- [x] **Phase 3**: JSON-LD core types
  - Article, Product, Person, Organization, Events, Recipes
- [x] **Phase 4**: Microdata (26%)
- [x] **Phase 5**: oEmbed, rel-* links
- [x] **Phase 6**: Verification tags
- [x] Schema.org validation

### Q4 2024: Complete Microformats ✅
- [x] **Phase 7**: All microformats (h-review, h-recipe, h-product, h-feed, h-adr, h-geo)
- [x] **Phase 9**: Dublin Core
- [x] Comprehensive testing (700+ tests)
- [x] Performance optimization

### Q1 2025: Semantic Web & PWAs ✅ - **v0.1.0 COMPLETE**
- [x] **Phase 8**: RDFa (62% adoption) - COMPLETE
  - Full W3C RDFa 1.1 specification
  - CURIE prefix expansion
  - Nested items and content override
  - 45 comprehensive tests
- [x] **Phase 10**: Web App Manifest - COMPLETE
  - Link discovery and JSON parsing
  - All W3C standard fields
  - Automatic URL resolution
  - 30 comprehensive tests
- [x] Updated documentation and examples
- [x] **Release v0.1.0** 🎉

### Future: Advanced Features
- [ ] **Phase 3.6-3.8**: Remaining JSON-LD types (Jobs, FAQ, Media)
- [ ] Streaming parser for large documents
- [ ] Custom extractor plugins
- [ ] CLI tool
- [ ] Browser extension
- [ ] Additional performance optimizations

---

## Adoption Statistics Summary

| Phase | Format | Adoption | Trend | Impact | Status |
|-------|--------|----------|-------|--------|--------|
| **1** | **Standard Meta** | **100%** || **CRITICAL** | ✅ Complete |
| **8** | **RDFa** | **62%*** || **HIGH** | **✅ Complete (v0.1.0)** |
| **2** | **Open Graph** | **60%+** || **VERY HIGH** | ✅ Complete |
| **2** | **Twitter Cards** | **45%** || **VERY HIGH** | ✅ Complete |
| **3** | **JSON-LD** | **41%** | **↗️** | **⚡ HIGHEST** | ✅ Complete |
| **4** | **Microdata** | **26%** | **↘️** | **MEDIUM** | ✅ Complete |
| **5** | **oEmbed** | Moderate || **MEDIUM-HIGH** | ✅ Complete |
| **7** | **Microformats** | **5-10%** || **LOW-MEDIUM** | ✅ Complete |
| **10** | **Web App Manifest** | **Growing** | **↗️** | **MEDIUM-HIGH** | **✅ Complete (v0.1.0)** |
| **9** | **Dublin Core** | **<5%** || **VERY LOW** | ✅ Complete |

_*62% adoption on desktop pages (HTTP Archive 2024) - Much higher than previously estimated!_

---

## Success Metrics - Revised

### Coverage Goals
- **Phases 1-2 Complete**: Extract from 100% of modern websites (standard meta + social)
-**Phase 3 Complete**: Full Rich Results support (JSON-LD)
-**Phases 4-7 Complete**: Comprehensive extraction from 95%+ of websites
-**Phases 8 & 10 Complete (v0.1.0)**: Semantic web (RDFa 62%) + PWAs (Manifest)

### Adoption Coverage
- ✅ Phase 1: 100% of sites
- ✅ Phases 1-2: 100% of sites (with rich social previews)
- ✅ Phases 1-3: ~100% of sites (with SEO/AI optimization)
- ✅ Phases 1-4: ~100% of sites (structured data)
-**Phases 1-10: Complete coverage** - All major metadata formats implemented!
  - **13 metadata formats** covering the vast majority of structured data on the web
  - **700+ comprehensive tests** ensuring production quality
  - **62% desktop adoption** with RDFa semantic web support
  - **PWA support** with Web App Manifest parsing

---

## Why This Order?

### Old Approach (Wrong)
Started with microformats (5-10% adoption) because it seemed simple.

### New Approach (Correct)
1. **Standard Meta (100%)** - Everyone needs this
2. **Open Graph + Twitter (60%+45%)** - Social sharing is critical
3. **JSON-LD (41% ↗️)** - SEO, AI, future-proof, GROWING
4. **Microdata (26% ↘️)** - Still used, declining
5. **Utilities (oEmbed, etc.)** - High value despite moderate adoption
6. **Microformats (5-10%)** - Niche but valuable for IndieWeb
7. **Legacy (RDFa, Dublin Core)** - Very niche

### Impact vs Effort

| Format | Adoption | Impact | Effort | Priority |
|--------|----------|--------|--------|----------|
| Standard Meta | 100% | Critical | Low | Do First |
| Open Graph | 60% | Very High | Low | Do First |
| Twitter | 45% | Very High | Low | Do First |
| JSON-LD | 41% ↗️ | Highest | Medium | Do Second |
| Microdata | 26% ↘️ | Medium | Medium | Do Third |
| oEmbed | Moderate | Medium-High | Medium | Do Third |
| Microformats | 5-10% | Low-Medium | Low | Later |
| RDFa | <10% | Low | Medium | Much Later |
| Dublin Core | <5% | Very Low | Low | Last |

---

## Key Changes from Previous Roadmap

### What Changed?
1. **Microformats moved from Phase 1 → Phase 7**
   - Reason: Only 5-10% adoption
   - Still valuable for IndieWeb, but not priority

2. **Standard Meta moved to Phase 1**
   - Reason: 100% adoption, foundation

3. **JSON-LD emphasized as HIGHEST IMPACT**
   - Reason: 41% and growing, enables Rich Results, AI/LLM training
   - E-commerce: 41% adoption (critical)

4. **Social (OG+Twitter) is Phase 2**
   - Reason: 60%+45% adoption, immediate value

5. **New phases added for utilities**
   - oEmbed, verification, PWA
   - Moderate adoption but high utility

### What Stayed?
- Python bindings approach
- Rust performance focus
- Type-safe design
- Comprehensive documentation

---

## Unified API Design

Same API as before, but returned data reflects priority:

```python
import meta_oxide

data = meta_oxide.extract_all(html, base_url=url)

# Returns (in priority order):
{
    # Phase 1 (100%)
    "meta": {
        "title": "...",
        "description": "...",
        "canonical": "..."
    },

    # Phase 2 (60%+45%)
    "opengraph": {
        "title": "...",
        "image": "...",
        "type": "article"
    },
    "twitter": {
        "card": "summary_large_image",
        "title": "..."
    },

    # Phase 3 (41% ↗️)
    "jsonld": [
        {
            "@type": "Article",
            "headline": "..."
        }
    ],

    # Phase 4 (26% ↘️)
    "microdata": [...],

    # Phase 7 (5-10%)
    "microformats": {
        "h-entry": [...],
        "h-card": [...]
    },

    # Phase 9 (<10%)
    "rdfa": [...],

    # Phase 10 (<5%)
    "dublin_core": {...}
}
```

---

## For Contributors

### Want to help? Start with highest impact:

**Immediate Impact (Do First)**:
1. Standard meta tags (Phase 1) - Easy, 100% coverage
2. Open Graph (Phase 2) - Easy, 60% coverage
3. Twitter Cards (Phase 2) - Easy, 45% coverage

**High Impact (Do Second)**:
4. JSON-LD parser (Phase 3) - Medium difficulty, 41% coverage, GROWING
5. Article/Product/Person types - Most common Schema.org types

**Good Impact (Do Third)**:
6. Microdata (Phase 4) - Medium difficulty, 26% coverage
7. oEmbed (Phase 5) - Moderate utility

**Nice to Have (Later)**:
8. Complete microformats (Phase 7)
9. RDFa (Phase 9)
10. Dublin Core (Phase 10)

---

## Last Updated

**Date**: 2025-11-25
**Status**: **v0.1.0 RELEASED** 🎉
**Completed**: All major phases (Phases 1-10)
**Latest**: Phase 8 (RDFa) + Phase 10 (Web App Manifest)
**Next**: Performance optimizations, streaming parser, CLI tools
**Achievement**: **13 metadata formats**, **700+ tests**, production-ready quality