On 13 September 2012 20:08, Charles Parnot <[email protected]> wrote:

> Thanks for all the info, Steve.
>
> I see now that indeed, a URL scheme won't help much. In any case, could I
> ask you one last favor, then, in the current version? We have changed
> things so that one can simply save a '.csl' file and then drag it into
> Papers. Could you thus change the text to:
>
> Use the above button to save your .csl file to the 'Styles' subfolder
> within your Papers2 library folder. <a href="
> http://support.mekentosj.com/kb/pro-tips/pro-tip-adding-additional-citation-styles";>More
> info.</a>
>
> Note that I have also included a better URL for the link.
>

Thanks, I've altered it, it'll go into the next release.


>
> Thanks again very much for the hard word, the CSL editor has turned into a
> very useful tool.
>
> Best wishes,
>
> Charles
>
>
> On Sep 13, 2012, at 6:51 PM, Steve Ridout <[email protected]> wrote:
>
> > On 6 September 2012 14:10, Charles Parnot <[email protected]>
> wrote:
> > I agree it makes more sense for the clients to do their own integration
> as they wish. It's quite a burden to place on the CSL editor developers,
> particularly if no easy integration is done on the client side, and
> particularly as the editor itself runs in the browser. So maybe instead
> Steve can let the clients know what's the best option for the editor to
> offer, e.g. a simple URL scheme? In the case of Papers, we have a number of
> avenues we can take advantage of,  like responding to a scheme like
> papers2://csl/file/path/to/csl/file, or papers2://csl/url/path/to/csl/url.
> >
> > charles
> >
> > Sorry for the delay responding.
> >
> > I doubt the papers2://csl/file/... scheme will be useful in this case
> since saving to the hard drive from a browser is tricky. I used a flash
> based plugin called downloadify which requires the user to specify the
> destination file path. Saving via pure javascript possible in Chrome but
> only to a sandboxed file system (
> http://www.html5rocks.com/en/tutorials/file/filesystem/) - if you could
> get the actual file path this would be OK, but I don't think you can.
> >
> > To use a papers2://csl/url/.. request you'll want to add some code to
> store the style on your server first. I've kept the demo site server pretty
> much stateless to keep things simple so I'm afraid I can't much help with
> this. I'm leaving it to the ref manager devs to override the load and save
> functions to get styles in and out of the editor which you should be able
> to do by following the documentation here:
> https://github.com/citation-style-editor/csl-editor/wiki. If there's
> anything in the core library that stops you doing what you want, or that
> you don't understand, please let me know.
> >
> > Another option is passing the whole style in a data URI, e.g.
> papers2://csl/url/$CSL_DATA_URI . It would be easy to add links like this
> to the demo site for all the ref managers actually. If something like this
> would work, let me know and I'll add it.
> >
> > (Note: In Firefox I tried installing a style to Zotero using
> data:text/x-csl;base64,$ENCODED_CSL but it only worked for trivially small
> styles. The confirm dialog goes pure black for real styles, perhaps because
> it's trying to display the whole URL.)
> >
> > Steve
> >
> >
> > On Sep 6, 2012, at 1:59 PM, Carles Pina <[email protected]>
> wrote:
> >
> > > Hello,
> > >
> > > On 5 September 2012 16:58, Bruce D'Arcus <[email protected]> wrote:
> > >>
> > >> Thanks for the update, and the work, Steve.
> > >>
> > >> In the realm of "stuff everyone needs to think about and work on"
> (not a critique of your work per se), I still think this is an example that
> needs to be MUCH simpler.
> > >> One-click installs please. Hopefully we'll see some rigorous forking
> of your repo!
> > >
> > >
> > > This is a task for the reference managers. The csl-editor project
> > > offers enough flexibility so $referenceManager can integrate nicely
> > > (see
> https://github.com/citation-style-editor/csl-editor/wiki/Visual-Editor
> > > , more and better documentation about how to integrate csl-editor with
> > > $referenceManager to be written soon). We have a prototype here with
> > > one click installs (when this will be public I'll send a note here).
> > >
> > > Steve did a demoSite with the instructions that you have seen and as a
> > > example of how to use the cslEditor.
> > >
> > > Regards,
> > >
> > > --
> > > Carles Pina | Software Engineer
> > > http://www.mendeley.com/profiles/Carles-Pina/
> > >
> > > Mendeley Limited | London, UK | www.mendeley.com
> > > Registered in England and Wales | Company Number 6419015
> > >
> > >
> ------------------------------------------------------------------------------
> > > Live Security Virtual Conference
> > > Exclusive live event will cover all the ways today's security and
> > > threat landscape has changed and how IT managers can respond.
> Discussions
> > > will include endpoint security, mobile security and the latest in
> malware
> > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> > > _______________________________________________
> > > xbiblio-devel mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/xbiblio-devel
> >
> > --
> > Charles Parnot
> > [email protected]
> > twitter: @cparnot
> > http://mekentosj.com
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > Live Security Virtual Conference
> > Exclusive live event will cover all the ways today's security and
> > threat landscape has changed and how IT managers can respond. Discussions
> > will include endpoint security, mobile security and the latest in malware
> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> > _______________________________________________
> > xbiblio-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/xbiblio-devel
> >
> >
> ------------------------------------------------------------------------------
> > Live Security Virtual Conference
> > Exclusive live event will cover all the ways today's security and
> > threat landscape has changed and how IT managers can respond. Discussions
> > will include endpoint security, mobile security and the latest in malware
> > threats.
> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
> > xbiblio-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/xbiblio-devel
>
> --
> Charles Parnot
> [email protected]
> twitter: @cparnot
> http://mekentosj.com
>
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> xbiblio-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xbiblio-devel
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
xbiblio-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbiblio-devel

Reply via email to