> var newtext=fullref+"|\n|Autor||\n|Editora||\n|Fonte|www|\n|Tipo|pdf|\n
> \n!!Comentarios\n";
> return newtext;

 ^^^^^^^^^^^ WHY?!?  (this *ends* the script *without saving the
tiddler*... *none* of the code that follows it will *ever* be invoked)

>       store.saveTiddler( tids[t].title, tids[t].title, newtext,
> tids[t].modifier, tids[t].modified,tids[t].tags, tids[t].fields);
> </script>


> You mentioned I could use "text.replace(..)" ... I am not familiar
> with that function...how does it work...syntax...

You are *already* using the .replace(...) function, here:

var firstreplace=text.replace("<<tiddler Format##pdf with:'","|
Link|");

Any decent online Javascript reference will have the full syntax and
usage.

-e

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to