Not signed in (Sign In)

Vanilla 1.1.5a is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorragdoll
    • CommentTimeFeb 7th 2008
     
    I read in an old post that Zotero should already include some kind of automatic renaming for PDFs attached to libreary elements.
    How does it work?
    Is it still there or has it been removed in the newest versions?
  1.  
    Yes, there's automatic renaming of attachments, but only attachments that are grabbed when saving a page via a translator.

    There's a hidden pref (accessible by typing about:config in the address bar) to control the format, extensions.zotero.attachmentRenameFormatString, with a default setting of "{%c - }{%y - }{%t{50}}".

    Translation:

    • %c is creator

    • %y is year

    • %t is the title

    • The curly braces around each part mean "only include this part if the field specified inside is non-empty"

    • {50} means truncate at 50 characters


    Creator, year and title are the only three fields currently supported, but more could be added easily.

    There's no way currently to rename existing attachments using this method, though that could be added.
    • CommentAuthorragdoll
    • CommentTimeFeb 8th 2008
     
    Thank you for your answer but I still have a problem.
    ScienceDirect has a translator, but if I enable automatic attachment of PDF files, they aren't renamed.
    Is there something else I have to do to make automatic renaming work?
    • CommentAuthorragdoll
    • CommentTimeFeb 8th 2008
     
    OK, I found an old post solving my problem:
    the file is renamed, but not it's reference in zotero.
    Why this? Is there a reason or is it something that will be implemented in the future?
  2.  
    I think an argument could be made either way. If you're just browsing your records, it's the parent item that tells you the bibliographic details of what you're looking at, and it may be more useful to have a title on the attachment that describes what the attachment contains ("JSTOR Full Text PDF", "New York Times Snapshot", etc.).
    • CommentAuthorragdoll
    • CommentTimeFeb 8th 2008
     
    Yes, you're right.
    I think this is the reason.
    • CommentAuthorasplundj
    • CommentTimeMar 14th 2008
     
    Is it also possible to set a different path for the storing of files? I want all pdfs in a single folder so which makes them more accessible when not using zotero
    • CommentAuthormark
    • CommentTimeApr 8th 2008
     
    I think an argument could be made either way

    Since the argument can be made either way, would it make sense to provide for an option to always have the reference to a PDF mirror its filename?

    I for one would be using that option, and the confusion about the renaming (witnessed in many threads around here) stems at least in part from the fact that many users in fact expect this to be the default behaviour (no doubt reinforced by the suggestive icon, which people normally see in connection with a filename in their OS).
  3.  
    I still have a problem,
    Sometime the PDF files are not automatically downloaded. If I grab the pdf link and drop it into zotero item. it is not automatically-renamed.
    Is it possible to auto-rename PDF files of a given item in library based on the info page?
    • CommentAuthormark
    • CommentTimeApr 23rd 2008
     
    It is not, as of currently, but I agree that it would be a nice feature. As soon as you drop a PDF on a record, Zotero would have enough information to autorename it. I figure it could be relatively trivial to extend the current autorename feature to the case of drag/drop from the file system. After all, the same machinery of docking the PDF to the record and copying it to a record subfolder is involved. Could a developer comment on this?
    • CommentAuthorjodler
    • CommentTimeApr 23rd 2008
     
    The feature as described by mark would be excellent and a great time safer!!
    • CommentAuthorGreg
    • CommentTimeApr 23rd 2008
     
    I agree with jodler but would also love to see the ability to only link pdfs with drag and drop not copy the file. I think a lot of people want to keep their pdfs in an seperate folder somewhere on their computer and not in the zotero folder. Accordingly, the option to drag and drop pdfs on a zotero item and thereby rename the file in its original location and create a link to the renamed file would be great!! Of course, only as an option (maybe when holding a key during the drag and drop process)!
    • CommentAuthorPeterSmith
    • CommentTimeApr 26th 2008
     
    I agree with Greg, it would be nice to have the option to link rather than copy, when dragging and dropping files (pdfs) onto a record.
    • CommentAuthorBrent
    • CommentTimeMay 24th 2008
     
    I need pdf attachments to have clear and readable naming as so many others have suggested. Screen scrapers don't seem to have any impact on the name of the file being downloaded, but we're already asking a lot of them. I've looked at this about:config business and haven't noticed any impact (Science Direct, JSTOR, Springerlink)

    Another problem is sending a pdf to another researcher. They need to see the article information in the file name before they open it. Would you like to receive @#$dfndfss3.pdf in your inbox?

    The other issue is portability. I carry a duplicate copy of my pdf library on an external drive and my laptop for viewing anywhere in adobe reader and I am preparing my pdf library for use on an e-paper reader when an 8.5x11 format comes out. I am tired of stacks of papers, and I want to carry my research everywhere I go. Folders of cryptically named pdfs are unacceptable.

    Zotero as a pdf manager on an e-reader would be phenomenal, especially with the upcoming remote library storage possibility (I expect my library to be gigabytes in size).

    How about just a script that renames every pdf in the library by a customizeable string. I use:
    "FirstAuthor_YEAR_Full title minus any disallowed characters.pdf"
    I really don't care for the source of the file to be in the name. It's automatically known by the bibliographic data.

    The linking point is interesting, I'd also like for all of my pdfs to be in one folder, this goes to the portability issue above and raises the question:
    "Should I only use Zotero to access my pdf collection or should I use a file explorer?"

    I guess one of the main differences between me and Dan's point above ["argument either way"] is that I have very little need of the snapshot feature. My goal is to efficiently catalog, search, and view scholarly articles. It's hard to believe how much better Zotero is for this purpose than Endnote already. I'm ditching Endnote ASAP.
    • CommentAuthorCatherine
    • CommentTimeJul 23rd 2008
     
    Hello,

    Is there any news about this? I would appreciate too the above mentioned features, especially:

    -automatic renaming of PDFs when doing a drag and drop -- by the way, as a fresh new user of Zotero, I have not been able so far to automatically download a PDF. As far as I understood, it depends on journals?

    - Storing all PDFS in only one folder.

    Thanks a lot!
    • CommentAuthormark
    • CommentTimeAug 1st 2008
     
    Catherine,

    no developments on this, as far as I know.

    PDFs (e.g. from JSTOR) can only be downloaded if you or your institution actually has a subscription to the journal you are looking at.
    • CommentAuthorcartesian
    • CommentTimeAug 16th 2008
     
    I want to add my vote to the calls for:
    1) Auto renaming of pdf files that have been manually attached to references. How about just including an auto rename selection on the context menu?

    2) Pref for attachment title to be same as filename (I think this should be the default; it would reduce confusion). Right now, I can't easily see which of the files attached to my library are well named and which are not, at least not without individually selecting each attachment.
    • CommentAuthornulall
    • CommentTimeAug 27th 2008
     
    I would also like to vote in favor of both of these propositions. It would make a HUGE improvement of usability.
    • CommentAuthorErgo
    • CommentTimeOct 16th 2008
     
    I am also interested in this, along with the ability to export PDFs and other files. Count me in as well. I think most of the suggestions here would be great additions.
    • CommentAuthorgabs1981
    • CommentTimeOct 17th 2008
     
    automatic renaming of attachments, but only attachments that are grabbed when saving a page via a translator ..? Please explain better

    Regards
    <a href="http://theoutsourcebot.com">http://theoutsourcebot.com</a>
    • CommentAuthorscio
    • CommentTimeOct 17th 2008 edited
     
    I made a script in python to process the sqlite db and rename the physical pdf file as well as update the database.
    It is currently setup in the script to rename each PDF to AuthorLastName - (Year) - Title, but it can be changed upon suggestion. I also have it rename the attachment in zotero to read "Year - Journal Name" so that when you are looking at the item in zotero you get a quick look at everything you need.

    The post is in the forums :
    http://forums.zotero.org/discussion/4058/rename-your-pdfs-and-update-zotero-too-with-python/#Item_0

    In the next version, I am looking to move all the physical pdf's (and update their paths in zotero) to a separate directory to find the files easier outside of zotero.

    Let me know if anyone wants a compiled version in case they don't want to install python.

    -rich
    • CommentAuthormark
    • CommentTimeOct 18th 2008
     
    Well, I would appreciate a compiled version of that script (I'm on Windows XP).
    My naming convention for PDFs is Author YYYY Title.pdf
    Thanks for your time!

Zotero Forums are powered by Vanilla 1.1.5a