|
|
@ -13,7 +13,6 @@ |
|
|
|
# directly generate and overwrite a PmWiki file in the right location rather than rely on import |
|
|
|
# directly generate and overwrite a PmWiki file in the right location rather than rely on import |
|
|
|
# echo -e -n 'version=urlencoded=1\ntext=' > ~/www/devpim/wiki.d/Recipes.RecipesTest && ../shell_scripts/pmwiki_recipes_info_listing | sed "s/%/%25/g" | sed -e '{:q;N;s/\n/%0a/g;t q}' >> ~/www/devpim/wiki.d/Recipes.RecipesTest |
|
|
|
# echo -e -n 'version=urlencoded=1\ntext=' > ~/www/devpim/wiki.d/Recipes.RecipesTest && ../shell_scripts/pmwiki_recipes_info_listing | sed "s/%/%25/g" | sed -e '{:q;N;s/\n/%0a/g;t q}' >> ~/www/devpim/wiki.d/Recipes.RecipesTest |
|
|
|
# warning, this work only for bare repositories |
|
|
|
# warning, this work only for bare repositories |
|
|
|
# for markup, consider direct page listing rather than search |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
WIKIPAGENAME=Recipes |
|
|
|
WIKIPAGENAME=Recipes |
|
|
|
RECIPESPATH=/home/fabien/repository/pmwiki_recipes |
|
|
|
RECIPESPATH=/home/fabien/repository/pmwiki_recipes |
|
|
@ -35,7 +34,7 @@ do |
|
|
|
echo "[[#$SCRIPT]][[$REPOSITORYURL/$SCRIPT|$SCRIPT]]"; |
|
|
|
echo "[[#$SCRIPT]][[$REPOSITORYURL/$SCRIPT|$SCRIPT]]"; |
|
|
|
grep RecipeInfo $SCRIPT | sed "s/.*= '\(.*\)';.*/* version (or date) \1/" ; |
|
|
|
grep RecipeInfo $SCRIPT | sed "s/.*= '\(.*\)';.*/* version (or date) \1/" ; |
|
|
|
grep HandleAction $SCRIPT | sed "s/.*], '\(.*\)');.*/* action [[Path:.?action=\1]]/" ; |
|
|
|
grep HandleAction $SCRIPT | sed "s/.*], '\(.*\)');.*/* action [[Path:.?action=\1]]/" ; |
|
|
|
grep ^Markup $SCRIPT | sed "s/.*:\(.*\):.*/* markup [[Path:?action=search\&q=%3A\1|[@(:\1:)@]]]/" ; |
|
|
|
grep ^Markup $SCRIPT | sed "s/.*:\(.*\):.*/* markup [[Path:?action=search\&q=%3A\1|[@(:\1:)@]]](:pagelist :\1 fmt=#simple:)/" ; |
|
|
|
echo "* functions"; |
|
|
|
echo "* functions"; |
|
|
|
for FUNCTION in `grep ^function $SCRIPT | sed "s/^function \(.*\)(.*/\1/"` |
|
|
|
for FUNCTION in `grep ^function $SCRIPT | sed "s/^function \(.*\)(.*/\1/"` |
|
|
|
do |
|
|
|
do |
|
|
|