Comments (5)
"og:image"
Yeah, that's right. We use the library provided by Obsidian to parse YAML file first to validate it and it will remove the outer quotation marks unless the value is a multiline string or some other cases
from omnivore.
I don't think that will work because what if the description has quotes in it?
from omnivore.
Fair point, although article descriptions can be manually changed in Omnivore, so as long as I change these to be YAML compliant then that shouldn't be an issue.
Would this be the reason why the quotation marks aren't being used? In data.json
they are being escaped as special characters \"
from omnivore.
I don't think thats the issue, i suspect its because we validate in a YAML library and then spit out the validated YAML. But let me verify that with @sywhb
One question: why do you need the quotes? Without white space isn't og:image
evaluated to the same thing in YAML as "og:image"
or are they treated as different properties?
from omnivore.
One question: why do you need the quotes? Without white space isn't
og:image
evaluated to the same thing in YAML as"og:image"
or are they treated as different properties?
I think I might not actually need the double quotations. I'm publishing my vault online using Obsidian-Digital-Garden, and I'm just following the docs here on setting metatags for a page, and the example screenshot shows the aforementioned YAML lines as being surrounded by double quotes. However, I tested on Omnivore article pages which have been published on my site and the metatags all render just fine. The page I actually used as an example in my first post even works – History of Morrowind - The Unofficial Elder Scrolls Pages (UESP).
So for my specific use case, this issue is resolved. It might be useful to keep open though for any other possible use-cases where you'd want the Omnivore frontmatter template to publish double quotations.
from omnivore.
Related Issues (20)
- iOS: Paragraph parsing issue for text to speech
- API: how to add labels (for a reading queue reranking script) HOT 1
- Feature Request: API call to modify the LLM description
- Chrome Extension link redirects to old store page while onboarding. HOT 1
- Android: Option to change colour theme from system default
- Fails to include images
- saved links from msn.com often/usually don't work properly
- FR: follow system dark / light mode
- FR: RTL toggle in the android app
- Enable serif/sans-serif font switching with fallback for unsupported languages
- iOS: App Crashes on iOS 18 Beta HOT 1
- Add vim motions for reading view
- A half-baked docker-compose? HOT 1
- Pocket import does not show labels HOT 1
- How do I add translations to the web?
- Running on pdf
- Browser E-Mail Login/Signup Error HOT 4
- PDF files are extremely slow on Android
- ui bug when bulk upload pdfs HOT 1
- Notion intergration: There was an error updating Notion settings.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from omnivore.