Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Schema variables do not appear when clipping a page in vivaldi. #370

Open
coolguyinachair opened this issue Feb 25, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@coolguyinachair
Copy link

Version (please complete the following information):

  • OS: Windows
  • Browser: Vivaldi
  • Web Clipper version: 0.10.8
  • Obsidian version: 1.8.7

Describe the bug

Schema variables do not appear when clipping a page

Expected behavior

I expected schema variables to be parsed and appear when I go to page variables

URLs where the bug occurs

Schema variables do not appear for any page.

Your template file

If you are using a custom template (i.e. not the Default template). Go to Web Clipper settings and click MoreCopy as JSON. Paste the JSON code below.

{
  "schemaVersion": "0.1.0",
  "name": "courses",
  "behavior": "create",
  "noteContentFormat": "{{content}}",
  "properties": [
    {
      "name": "platform",
      "value": "{{schema:@Course:publisher.name}}",
      "type": "text"
    },
    {
      "name": "provider",
      "value": "{{schema:@Course:provider.name}}",
      "type": "text"
    },
    {
      "name": "instructor",
      "value": "{{schema:@Course:hasCourseInstance[0].instructor.name}}",
      "type": "text"
    },
    {
      "name": "source",
      "value": "{{schema:@Course:@id}}",
      "type": "text"
    }
  ],
  "triggers": [
    "schema:@Course"
  ],
  "noteNameFormat": "{{schema:@Course:name}}",
  "path": "sources/courses"
}

This is what the web clipper shows when visiting https://www.coursera.org/learn/machine-learning

Image
Image

This is what validator.schema.org shows for when testing with the same url

Image

@coolguyinachair coolguyinachair added the bug Something isn't working label Feb 25, 2025
@coolguyinachair coolguyinachair changed the title BUG: BUG: Schema variables do not appear when clipping a page in vivaldi. Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant