Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
dev:api_user_docs [2010/04/27 17:57] – kd | dev:api_user_docs [2011/03/04 18:43] – dstillman | ||
---|---|---|---|
Line 264: | Line 264: | ||
==== Get an Item's Attachments === | ==== Get an Item's Attachments === | ||
- | Here's some example code to get the full text of html and pdf items in storage: | + | Here's some example code to get the full text of html and pdf items in storage |
<code javascript> | <code javascript> | ||
- | |||
var item = 'some item' ; // some Zotero Item obtained previously | var item = 'some item' ; // some Zotero Item obtained previously | ||
var fulltext = new Array; | var fulltext = new Array; | ||
Line 280: | Line 279: | ||
} | } | ||
} | } | ||
- | |||
- | |||
- | |||
</ | </ | ||
Line 309: | Line 305: | ||
writeFile("/ | writeFile("/ | ||
</ | </ | ||
+ | |||
+ | Or just use Zotero.File.putContents(str)... | ||
==== TODO ==== | ==== TODO ==== |