Replies: 2 comments 15 replies
-
Hi
|
Beta Was this translation helpful? Give feedback.
2 replies
-
@Floatinger And if you try it like this? bash -c "cat %data%\\scripts\\filename.json" Or bash -c 'cat "%data%\\scripts\\filename.json"' Or bash -c 'cat %data%"\\scripts\\filename.json"' You might also try something like this? cmd.exe "type %data%\scripts\filename.json" |
Beta Was this translation helpful? Give feedback.
13 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello! Whenever I tried to import a preprocessed json feed in a .json file such as:
{ "version": "https://jsonfeed.org/version/1", "title": "My Example Feed", "home_page_url": "https://example.org/", "feed_url": "https://example.org/feed.json", "items": [ { "id": "2", "content_text": "This is a second item.", "url": "https://example.org/second-item" }, { "id": "1", "content_html": "<p>Hello, world!</p>", "url": "https://example.org/initial-post" } ] }
or simply
{"title": "example_title"}
with following source script
bash -c "less %data%/scripts/filename.json"
and tried to fetch metadata, I got 'Error: XML is not well-formed, early end of document'.
I have also tried to use cat instead of less but that isnt working as well.
I would be glad to get some help :)
Beta Was this translation helpful? Give feedback.
All reactions