<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-16987833.post7184237349921549367..comments</id><updated>2010-03-18T21:17:51.708-03:00</updated><title type='text'>Comments on Senzala digital: Reading and writing local files in Firefox 3</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://senzala.epx.com.br/feeds/7184237349921549367/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16987833/7184237349921549367/comments/default'/><link rel='alternate' type='text/html' href='http://senzala.epx.com.br/2009/03/reading-and-writing-local-files-in.html'/><author><name>EPx</name><uri>http://www.blogger.com/profile/05460659081734761382</uri><email>epx@epx.com.br</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-16987833.post-3858562568462294016</id><published>2010-03-18T21:17:51.703-03:00</published><updated>2010-03-18T21:17:51.703-03:00</updated><title type='text'>@Thiago:I did not try to pass data directly. The p...</title><content type='html'>@Thiago:I did not try to pass data directly. The plug-in code reads file name and data directly from form fields in the Web page, as follows:&lt;br /&gt;&lt;br /&gt;    var focusedWindow = document.commandDispatcher.focusedWindow;&lt;br /&gt;&lt;br /&gt;    var dados = &amp;quot;&amp;quot; + focusedWindow.document.getElementById(&amp;quot;export_txt&amp;quot;).value;&lt;br /&gt;&lt;br /&gt;    var nome = &amp;quot;&amp;quot; + focusedWindow.document.getElementById(&amp;quot;export_arquivo&amp;quot;).value;&lt;br /&gt;&lt;br /&gt;This is quite kludgey, but it works. A more &amp;quot;civilized&amp;quot; way would be to add those data as attributes to the event object (not sure it is possible).</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16987833/7184237349921549367/comments/default/3858562568462294016'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16987833/7184237349921549367/comments/default/3858562568462294016'/><link rel='alternate' type='text/html' href='http://senzala.epx.com.br/2009/03/reading-and-writing-local-files-in.html?showComment=1268957871703#c3858562568462294016' title=''/><author><name>EPx</name><uri>http://www.blogger.com/profile/05460659081734761382</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='03562439152362697527'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://senzala.epx.com.br/2009/03/reading-and-writing-local-files-in.html' ref='tag:blogger.com,1999:blog-16987833.post-7184237349921549367' source='http://www.blogger.com/feeds/16987833/posts/default/7184237349921549367' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-16987833.post-2647661876351646364</id><published>2010-03-18T21:00:59.675-03:00</published><updated>2010-03-18T21:00:59.675-03:00</updated><title type='text'>hi,

i don`t understand how data is passed from ja...</title><content type='html'>hi,&lt;br /&gt;&lt;br /&gt;i don`t understand how data is passed from java script to the plugin save method. Could you post an example.&lt;br /&gt;&lt;br /&gt;thanks,&lt;br /&gt;Tiago</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16987833/7184237349921549367/comments/default/2647661876351646364'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16987833/7184237349921549367/comments/default/2647661876351646364'/><link rel='alternate' type='text/html' href='http://senzala.epx.com.br/2009/03/reading-and-writing-local-files-in.html?showComment=1268956859675#c2647661876351646364' title=''/><author><name>Tiago Rossi</name><uri>http://www.blogger.com/profile/03083104615746817330</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://senzala.epx.com.br/2009/03/reading-and-writing-local-files-in.html' ref='tag:blogger.com,1999:blog-16987833.post-7184237349921549367' source='http://www.blogger.com/feeds/16987833/posts/default/7184237349921549367' type='text/html'/></entry></feed>