Opened 10 years ago

Closed 4 years ago

#400 closed enhancement (fixed)

Report generation

Reported by: dstillman Owned by: dstillman
Priority: major Milestone:
Component: export Version: 1.5
Keywords: Cc:

Description

Planned formats:

  • XHTML + CSS, allowing users to specify custom styles
  • RTF
  • CSV

Discussion in the forums: http://forums.zotero.org/discussion/173/

Change History (10)

comment:1 Changed 10 years ago by dstillman

  • Component changed from uncategorized to export
  • Owner changed from dstillman to simon

comment:2 Changed 10 years ago by dstillman

  • Owner changed from simon to dstillman

comment:3 Changed 10 years ago by dstillman

(In [912]) Addresses #400, Report generation

A work in progress:

  • Implemented zotero:// custom protocol handler, which will likely be useful for other things too
  • First version of XHTML/CSS detail view -- definitely needs feedback, work, and refinement but is more or less functional
  • Added XUL-side interface and context menu options for loading report URLs

Going forward:

  • Other formats (RTF, CSV)
  • Other views (list view, annotated bibliography, etc.)
  • Report options window (let the user which fields to include (with saved templates?))
  • Ability to specify custom CSS files?
  • Extension of Zotero protocol handler to trigger Zotero events? This would allow more interactive reports with the ability to click to select items in the Z pane, run searches by clicking on tags, etc., but would have to be limited to idempotent actions.

Other changes:

  • ZoteroPane.getSortField() and ZoteroPane.getSortDirection()
  • Zotero.Utilities.htmlSpecialChars(str)
  • Fixed sort direction in items pane (triangle icon now goes the right direction, though the default direction on clicking a new column is incorrect)
  • firstCreator now included in toArray(), though it's not particularly correct (#287, more or less)
  • ZoteroPane.getSelectedCollection/SavedSearch/Items now take asIDs parameter to return ids instead of objects

comment:4 Changed 10 years ago by dstillman

(In [1018]) Addresses #400, Report generation

CSS updates from Jeremy with some streamlining by me (consistency of print style, removal of unnecessary lines, and some other fixes)

Changed doctype to XHTML 1.0 Strict from 1.1

Adding /html/report.html to end of URL to provide a filename hint for Firefox (instead of the file being called 12345-34567-84573-42632.xhtml)

comment:5 Changed 10 years ago by dstillman

More discussion re: CSV here: http://forums.zotero.org/discussion/356/

Suggestion from noksagt to delimit creators with semi-colons

comment:6 Changed 10 years ago by dstillman

  • Milestone changed from 1.0 Beta 4 to 1.1 Beta
  • Version changed from 1.0 to 1.1

comment:7 Changed 8 years ago by karnesky

It'd be nice if XHTML reports contained COinS.

(Commenting on the minor point here, as it seems to be tracking most feature requests for reports.)

comment:8 Changed 8 years ago by dstillman

Added #1017 for COinS in reports.

comment:9 Changed 6 years ago by dstillman

  • Milestone 2.0 Beta 3 deleted

Milestone 2.0 Beta 3 deleted

comment:10 Changed 4 years ago by dstillman

  • Resolution set to fixed
  • Status changed from new to closed

Closing this. Create GitHub issues for improvements.

Note: See TracTickets for help on using tickets.