Actualiser gatsbyfeed

This commit is contained in:
cedric 2026-01-19 10:41:27 +00:00
parent 1f60756d93
commit 2e61ce5f6d

View file

@ -1,6 +1,7 @@
#!/bin/bash #!/bin/bash
#Name : gatsbyfeed #Name : gatsbyfeed
#Usage : Extract jsonfeed from gatsbyjs agenda #Usage : Extract jsonfeed from gatsbyjs agenda
#Url example : https://example.com/page-data/actualites/page-data.json
function to_feed(){ function to_feed(){
home_page_url=$(echo "$link" | sed -E 's|^(https?://[^/]+).*|\1|') home_page_url=$(echo "$link" | sed -E 's|^(https?://[^/]+).*|\1|')