I hesitate to call them files because they're not really files, because they are a BLOB in the database. I'm not sure of your reasoning for doing this, but from a developer's standpoint it's pure hell. Updating these things is non-trivial. What is the best way to edit CSL stored in the biblio_citeproc_styles table?

Comments

lpeabody’s picture

As far as I can tell, the best way to "edit" a CSL file is to modify it within the style directory, disable the CiteProc module, uninstall it, then enable it again. Not sure if anyone else agrees... let me know ASAP please.

rjerome’s picture

As I mentioned in another thread, the editor function is in the works. The reasoning (perhaps flawed) behind putting the CSL in the database was

  • I don't have to ship 1000+ CSL files with the module
  • The user can pull updates from a central repository.

I can understand your frustration and may rethink this functionality accordingly. The issue in dealing with files is that the web server typically can't write to the module directories, so any modified/newly installed CSL files would have to be stored somewhere outside the module directory.

liam morland’s picture

Issue summary: View changes
Status: Active » Fixed

If you need further help, please re-open and provide details.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.