Cool. Let me know if you need any help on the pgn4web side.Simon Ansell wrote:Hi Paolo,
Thanks for your posts. I did manage to install your extension yesterday and take a quick look - looks potentially very useful and would have done exactly what I need, a shame you can't keep up development - I'm not familiar with the Chrome extension security changes but I understand how frustrating it is as a programmer when new versions or standards appear out of nowhere and break something you've spent a lot of time on.
I was thinking along the lines of not a Chrome extension but instead a hosted web app to access the users Google Drive files and then using the standard pgn4web viewer to display the games, should be possible I think? (but yes, I do tend to throw flippant comments such as "shouldn't be too hard" around too often without doing thorough research!). Will investigate in more detail when I have some time next week.
I dont know much about integrating google drive within a web app, whatever you mean with "web app", these days everything seems to be referred to as a web app, or even better a cloud based solution; in fact some of the pages in the main pgn4web distribution (the download file pgn4web-x.xx.zip) could be seen as some sort of "web app", look for instance at viewer.php, it might give you some ideas.
Just one fundamental clarification about pgn4web: pgn4web has been designed as a "viewer" of PGN files and from a viewer perspective you can do a lot of stuff: browse games, search games, analyze games with an engine and so on. However, as a viewer, pgn4web does not provide any facility for editing the PGN files, so you can not easily do any of these: create a new PGN file, add games to a PGN file, add variations and/or comments to a PGN game and so on. If any of those is a requirement, most likely pgn4web is not the right PGN library for you.