meta données pour cette page
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
schplurtziel:saptdvhf [2012/10/22 22:13] ztrulphcs [saptdvhf] clear... |
schplurtziel:saptdvhf [2022/04/27 07:23] (Version actuelle) ztrulphcs [saptdvhf] |
||
---|---|---|---|
Ligne 6: | Ligne 6: | ||
<WRAP column 45%> | <WRAP column 45%> | ||
- | J'ai eu besoin, sur une toute petite machine, sans perl, sans ruby, sans pyt.. d'un outil en ligne de commande capable d' | + | J'ai eu besoin, sur une toute petite machine, sans perl, sans ruby, sans pyt.. d'un outil en ligne de commande capable d' |
Aussi, j'ai écrit un affreux script en [[http:// | Aussi, j'ai écrit un affreux script en [[http:// | ||
</ | </ | ||
<WRAP column 45%> | <WRAP column 45%> | ||
- | On a very small machine where perl, ruby and pyt... are not an option, I needed (and still need) a command line tool to send pages to DokuWiki like one would do with his browser. | + | On a very small machine where perl, ruby and pyt... are not an option, I needed (and still need) a command line tool to send pages and media files to DokuWiki like one would do with his browser. |
The result is an ugly [[http:// | The result is an ugly [[http:// | ||
Ligne 20: | Ligne 20: | ||
* se connecter avec votre identifiant/ | * se connecter avec votre identifiant/ | ||
* envoyer le texte de la page avec le résumé | * envoyer le texte de la page avec le résumé | ||
- | * déjouer un captcha | + | * <del>déjouer un captcha</ |
+ | * envoyer des fichiers media (image, pdf etc...) | ||
</ | </ | ||
<WRAP column 45%> | <WRAP column 45%> | ||
Ligne 26: | Ligne 27: | ||
* log in dokuwiki using user/ | * log in dokuwiki using user/ | ||
* send a page text along with its summary | * send a page text along with its summary | ||
- | * eventually defeat a captcha | + | * <del>eventually defeat a captcha</ |
+ | * send media files (image, pdf, etc...) | ||
</ | </ | ||
<WRAP clear></ | <WRAP clear></ | ||
Ligne 40: | Ligne 42: | ||
> --ident-file $HOME/ | > --ident-file $HOME/ | ||
> http:// | > http:// | ||
- | moi@machine $ | + | moi@machine $ saptdvhf -i $HOME/ |
+ | > -m : | ||
+ | > http:// | ||
</ | </ | ||
Ligne 46: | Ligne 50: | ||
* script : [[http:// | * script : [[http:// | ||
- | * source : {{: | + | * source : [[http:// |