What steps will reproduce the problem?
1. Use FeedURLFactory.getSpreadsheetKeyFromUrl to obtain the key of the the
following Spreadsheet URL
https://spreadsheets.google.com/ccc?key=0AulArDet_f7TdEUxcDNiMkZ5bHNZcGFqRThqQWp
6eHc&hl=en#gid=0
2. The following exception will be thrown:
java.lang.IllegalArgumentException: Uknown URL format.
What is the expected output? What do you see instead?
The method should return the key of the spreadsheet
(0AulArDet_f7TdEUxcDNiMkZ5bHNZcGFqRThqQWp6eHc).
What version of the product are you using? On what operating system?
1.43.0, gdata-spreadsheet-3.0.jar, Java 1.6.0_12
Please provide any additional information below.
I reviewed the code of the script and it looks like the key format has changed
since this method was developed, since the key doesn't start with "p" and it
doesn't contain any period.
See the source of the method at:
http://code.google.com/p/gdata-java-client/source/browse/trunk/java/src/com/goog
le/gdata/client/spreadsheet/FeedURLFactory.java
Thanks.
Original issue reported on code.google.com by dle...@gmail.com on 15 Feb 2011 at 4:19
Original issue reported on code.google.com by
dle...@gmail.com
on 15 Feb 2011 at 4:19