added license and info
This commit is contained in:
parent
1d350ccd7b
commit
b4c7a30a60
1 changed files with 6 additions and 1 deletions
|
|
@ -4,7 +4,6 @@ This is a quickly hacked PHP script that will get the latests posts in your sqli
|
|||
|
||||
This was created for https://lacra.ia.br/
|
||||
|
||||
License is do what the fuck you want with this.
|
||||
|
||||
This just select the date of the most recently updated post. If it is more recent than a stamp file it updates *everything*. Not an issue for a few hundred posts but this might need optimisation in the future if this ever gets used on a larger scale to only update changed posts.
|
||||
|
||||
|
|
@ -15,3 +14,9 @@ Edit config.php and put something like this in your cron tab
|
|||
```
|
||||
5 * * * * cd /home/lacraia/writefreely_to_gemini && php -f update_gmi_content.php > /home/lacraia/logs/gmi_update.log 2>&1
|
||||
```
|
||||
|
||||
# License
|
||||
Please do what the fuck you want with this.
|
||||
|
||||
# Comments ?
|
||||
Message me on the [fediverse](https://gone.lema.org/@santi) or drop me [a mail](mailto:code.writefreely@lema.org)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue