Originally created by: paolocas...@gmail.com
Originally owned by: paolocas...@gmail.com
currently the board/board-generator use URL parameters to provide the PGN
data, hence a limitation in the PGN lenght: resulting URL must be within
2000 char otherwise some browser (read: Internet Explorer) and or some
server might fail displaying the chessboard.
this issue is to remove the limitation
options:
- add the PGN data as textarea in the parent and then read it from the
child iframe board.html as parent.pgnText.value This however would work
only if board.html is hosted on the same server as the forum/blog/website
(no cross domain parent/child data transfer is allowed, unless you do
really weird things that you dont want to do)
- use POST method instead of GET method; this would get rid of the lenght
limitation; not sure how to doit though, maybe a form with auto-submit, but
that would work only if the forum/blog/website allows javascript and wasn't
the point of the board.html tool to help people when their
forum/blog/website does not allow javascript?
- anything else? needs more thinking...
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: paolocas...@gmail.com
(No comment was entered for this change.)
Status: WontFix
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: paolocas...@gmail.com
see https://code.google.com/p/pgn4web/issues/detail?id=70#c4 for a workaround to the PGN length limitation of the board generator; it ONLY APPLIES if the chessboards are published on the SAME SERVER that hosts the board/board-generator tools.
otherwise, a more general solution would require hosting on the board generator server a mysql database storing board details (config and PGN data) that could be retrieved by an assigned ID; that would be a sort of tinyurl service for chessboards, not too difficult to do (the annoying part would be handling exceptions/errors) but outside of the current project scope for now.
Related
Tickets:
#70