main #1
1 changed files with 1 additions and 1 deletions
|
@ -17,4 +17,4 @@ JSON_TITLE=$(json_escape "$TITLE")
|
||||||
JSON_XML_URL=$(json_escape "$XML_URL")
|
JSON_XML_URL=$(json_escape "$XML_URL")
|
||||||
JSON_URL=$(json_escape "$URL")
|
JSON_URL=$(json_escape "$URL")
|
||||||
|
|
||||||
printf '{"title": %s, "xmlUrl": %s, "htmlUrl": %s}\n' "$JSON_TITLE" "$JSON_XML_URL" "$JSON_URL" > json/"$NAME".json
|
mkdir -p json && printf '{"title": %s, "xmlUrl": %s, "htmlUrl": %s}\n' "$JSON_TITLE" "$JSON_XML_URL" "$JSON_URL" > json/"$NAME".json
|
||||||
|
|
Loading…
Reference in a new issue