nextcloud / nextcloud/cookbook

Direct import of json recipe

Open
#1,671 11 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Backend enhancement php
Dominant language
HTML
Stars
641
Forks
113
Avg merge
21h 31m
Merged PRs (30d)
26

Description

Would it be possible to directly import json files? (Example from your git)

Failing website: https://raw.githubusercontent.com/nextcloud/cookbook/1c60fc03cda4c4af3e650637d5f3b22101e37c6f/tests/Unit/Helper/HTMLParser/res_JsonLd/caseJ.json

Checking if valid metadata are present:
[x] Yes, I check the source code of the website and found metadata. it's directly the json shema

Cookbook version: 10.2

Problem description (if applicable):
The page cannot be imported. The error message is:
"No parser found for the given import."

Thanks for this project!

Actualy i create an empty recipe (from your app) and i edit the recipe.json (of the new recipe) with the json schema I found

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the recipe import path and the recipe.json example described in the issue, then reproduce the failure using the linked JSON-LD file. The work is done when a valid JSON recipe can be imported without the “No parser found for the given import” error.

Written by the indexing model from the issue text.

Assessment

Tech stack
json
Domain
data
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.