Skip to content

Commit 9af158b

Browse files
committed
Fix MDX JSON-LD blocks using Head + JSON.stringify
1 parent d9dd843 commit 9af158b

File tree

4 files changed

+15
-60
lines changed

4 files changed

+15
-60
lines changed

docs/on-device-vector-database-sync.mdx

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ description: "Learn how an on-device vector database like ObjectBox with real-ti
44
tags: [Edge AI, Vector Database, Data Sync, Offline-First, On-Device AI]
55
---
66

7+
import Head from '@docusaurus/Head';
8+
79
# How On-Device Vector Databases with Sync Are Revolutionizing Field Services
810

911
Imagine a technician in a remote, offline wind turbine, faced with an unidentifiable part with an unreadable serial number. It could be one of several visually similar models, or an undocumented replacement that doesn't match the service history of that part on her tablet. This ambiguity used to mean wasted hours and the risk of costly errors. Now, with an Edge AI application, she simply points her camera at it. An on-device AI analyzes the component's physical features in real-time. In less than a second, it bypasses the unreadable label, identifies the part from among all known variants, and flags any inconsistencies with the official service record. The correct manual and part information appear on her screen.
@@ -80,23 +82,6 @@ Adopting an on-device vector database with data synchronization delivers transfo
8082

8183
The future of intelligent applications isn't just in the cloud; it's in the seamless, symbiotic relationship between the cloud and the edge; especially for AI applications. By combining the local processing power of on-device vector search with the connective tissue of real-time data sync, we can build a new class of truly smart, resilient, and context-aware applications - that work offline as well as online and can support your workers anytime, anyplace in realtime. On top, this approach is way more resourceful, and therefore saves energy and thus monetary and environmental costs, while also empowering you to keep data secure and private on local devices.
8284

83-
<script type="application/ld+json">
84-
{
85-
"@context": "https://schema.org",
86-
"@type": "BlogPosting",
87-
"mainEntityOfPage": {
88-
"@type": "WebPage",
89-
"@id": "https://dev.objectbox.io/on-device-vector-database-sync"
90-
},
91-
"headline": "How On-Device Vector Databases with Data Sync Are Revolutionizing Field Services",
92-
"description": "Learn how an on-device vector database like ObjectBox with real-time data sync enables powerful, offline-first AI applications for industries like field services.",
93-
"keywords": "Edge AI, Vector Database, Data Sync, Offline-First, On-Device AI",
94-
"datePublished": "2025-09-10T11:47:46+02:00",
95-
"dateModified": "2025-09-10T11:53:47+02:00",
96-
"author": {
97-
"@type": "Person",
98-
"name": "Dr. Vivien Dollinger",
99-
"url": "https://www.linkedin.com/in/vivien-dollinger/"
100-
}
101-
}
102-
</script>
85+
<Head>
86+
<script type="application/ld+json">{JSON.stringify({"@context": "https://schema.org", "@type": "BlogPosting", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://dev.objectbox.io/on-device-vector-database-sync"}, "headline": "How On-Device Vector Databases with Data Sync Are Revolutionizing Field Services", "description": "Learn how an on-device vector database like ObjectBox with real-time data sync enables powerful, offline-first AI applications for industries like field services.", "keywords": "Edge AI, Vector Database, Data Sync, Offline-First, On-Device AI", "datePublished": "2025-09-10T11:47:46+02:00", "dateModified": "2025-09-10T11:53:47+02:00", "author": {"@type": "Person", "name": "Dr. Vivien Dollinger", "url": "https://www.linkedin.com/in/vivien-dollinger/"}})}</script>
87+
</Head>

docs/realm-to-objectbox-api-mapping.mdx

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ slug: /migrate/realm-to-objectbox/api-mapping
77
keywords: [ObjectBox, Realm, migration, API mapping, reference]
88
---
99

10+
import Head from '@docusaurus/Head';
11+
1012
# Realm → ObjectBox API Mapping
1113

1214
This quick reference helps you translate common Realm APIs and concepts to ObjectBox equivalents. Use it during migrations together with the full Migration Guide.
@@ -77,23 +79,6 @@ If your migration targets vector/similarity search, ObjectBox supports **on-devi
7779
- [box.get()](./box-get-method.mdx)
7880
- [box.remove()](./box-remove-method.mdx)
7981

80-
<script type="application/ld+json">
81-
{
82-
"@context": "https://schema.org",
83-
"@type": "TechArticle",
84-
"mainEntityOfPage": {
85-
"@type": "WebPage",
86-
"@id": "https://dev.objectbox.io/migrate/realm-to-objectbox/api-mapping"
87-
},
88-
"headline": "Realm → ObjectBox API Mapping",
89-
"description": "Quick reference mapping Realm APIs to ObjectBox equivalents across languages.",
90-
"keywords": "ObjectBox, Realm, migration, API mapping, reference",
91-
"datePublished": "2025-07-10T11:56:15+02:00",
92-
"dateModified": "2025-09-10T11:56:15+02:00",
93-
"author": {
94-
"@type": "Organization",
95-
"name": "ObjectBox",
96-
"url": "https://dev.objectbox.io/"
97-
}
98-
}
99-
</script>
82+
<Head>
83+
<script type="application/ld+json">{JSON.stringify({"@context": "https://schema.org", "@type": "TechArticle", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://dev.objectbox.io/migrate/realm-to-objectbox/api-mapping"}, "headline": "Realm → ObjectBox API Mapping", "description": "Quick reference mapping Realm APIs to ObjectBox equivalents across languages.", "keywords": "ObjectBox, Realm, migration, API mapping, reference", "datePublished": "2025-07-10T11:56:15+02:00", "dateModified": "2025-09-10T11:56:15+02:00", "author": {"@type": "Organization", "name": "ObjectBox", "url": "https://dev.objectbox.io/"}})}</script>
84+
</Head>

docs/realm-to-objectbox-migration.mdx

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ slug: /migrate/realm-to-objectbox/guide
77
keywords: [ObjectBox, Realm, migration, guide]
88
---
99

10+
import Head from '@docusaurus/Head';
11+
1012
# Realm → ObjectBox Migration
1113

1214
This guide walks you through moving a project from **Realm** to **ObjectBox** with minimal downtime: planning, schema mapping, data export/import, and code changes.
@@ -96,23 +98,6 @@ Unless you mark the ID as **assignable** (e.g., `@Id(assignable = true)` in Java
9698
- [box.get()](./box-get-method.mdx)
9799
- [box.remove()](./box-remove-method.mdx)
98100

99-
<script type="application/ld+json">
100-
{
101-
"@context": "https://schema.org",
102-
"@type": "TechArticle",
103-
"mainEntityOfPage": {
104-
"@type": "WebPage",
105-
"@id": "https://dev.objectbox.io/migrate/realm-to-objectbox/guide"
106-
},
107-
"headline": "Realm → ObjectBox Migration Guide",
108-
"description": "Step-by-step guide to migrate data and code from Realm to ObjectBox",
109-
"keywords": "ObjectBox, Realm, Realm DB, Data Sync, MongoDB, MongoDB Atlas Device Sync, migration, guide",
110-
"datePublished": "2025-03-15T09:00:00+01:00",
111-
"dateModified": "2025-09-09T14:30:00+02:00",
112-
"author": {
113-
"@type": "Organization",
114-
"name": "ObjectBox",
115-
"url": "https://dev.objectbox.io/"
116-
}
117-
}
118-
</script>
101+
<Head>
102+
<script type="application/ld+json">{JSON.stringify({"@context": "https://schema.org", "@type": "TechArticle", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://dev.objectbox.io/migrate/realm-to-objectbox/guide"}, "headline": "Realm → ObjectBox Migration Guide", "description": "Step-by-step guide to migrate data and code from Realm to ObjectBox", "keywords": "ObjectBox, Realm, Realm DB, Data Sync, MongoDB, MongoDB Atlas Device Sync, migration, guide", "datePublished": "2025-03-15T09:00:00+01:00", "dateModified": "2025-09-09T14:30:00+02:00", "author": {"@type": "Organization", "name": "ObjectBox", "url": "https://dev.objectbox.io/"}})}</script>
103+
</Head>
File renamed without changes.

0 commit comments

Comments
 (0)