Actualiser gatsbyfeed
This commit is contained in:
parent
1f60756d93
commit
2e61ce5f6d
1 changed files with 1 additions and 0 deletions
|
|
@ -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|')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue