VSP API returning same image and ignoring "prinatable" variable

Affiliation
American Association of Variable Star Observers (AAVSO)
Fri, 11/16/2012 - 16:28

Hello all,

Today I have noticed that Variable Star Plotter API is returning same image and completly ingnoring "printable" parameter.

Example request:

http://www.aavso.org/cgi-bin/vsp.pl?name=ss+cyg&forcelines=on&fov=60&printable=no
http://www.aavso.org/cgi-bin/vsp.pl?name=ss+cyg&forcelines=on&fov=60&printable=yes

Those two request are returning same image of selected FOV, while first one should return 75dpi and second one 150dpi version of image. Also, sending request to:

http://www.aavso.org/vsp/chart?name=ss+cyg&forcelines=on&fov=60&printable=yes

Returns broken page. I guess that png image is injected into HTML and not returned for itself.

Regards,
Dario

Affiliation
American Association of Variable Star Observers (AAVSO)
Documentation should be updated

Thank you for workaround. :) It will be very helpful to display higher resolution charts in software.

So, problem is easily solvable, but I think that documentation should describe that parameter. Also, documentation part which says: "If yes is specified, it will have a resolution of 150dpi and the header and footer HTML code will not be displayed." should be edited or API itself should be fixed.