[Bibdesk-users] Newbie applescripter--any help appreciated

2008-03-09 Thread Ingrid Giffin
I'm trying to write a script to change my JSTOR URLs to the proxy version
that works for my school. It should copy the URL from the URL field, change
the URL by a simple string substitution, and paste the result to the
My_Proxy_URL field.

It seems to be working up until somewhere in the replaceChars step. I'm sure
I'm just making some beginner's mistake. Here's my script:

-

tell application BibDesk
set theDoc to document 1
set thePubsSel to the selection of theDoc
repeat with thePub in thePubsSel
set theURL to the value of field URL of thePub
if theURL contains links.jstor.org then
set theURL2 to replaceChars(theURL, links.jstor.org,
0-www.jstor.org.skyline.cudenver.edu)
set My_Proxy_URL to theURL2
end if
end repeat
end tell


Here's the Event Log:


tell application BibDesk
get document 1
document Anthro Bib
get selection of document Anthro Bib
{publication 8 of document Anthro Bib}
get value of field URL of publication 8 of document Anthro Bib

http://links.jstor.org/sici?sici=1558-8610%281972%2914%3Cii%3ATAOATH%3E2.0.
CO%3B2-P

replaceChars(http://links.jstor.org/sici?sici=1558-8610%281972%2914%3Cii%3A
TAOATH%3E2.0.CO%3B2-P, links.jstor.org,
0-www.jstor.org.skyline.cudenver.edu)
BibDesk got an error: Can't continue replaceChars.

-

Thanks for any suggestions.
--Ingrid Giffin



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users


Re: [Bibdesk-users] Newbie applescripter--any help appreciated

2008-03-09 Thread Alexander H. Montgomery
first, replaceChars needs to be my replaceChars - you have to tell  
AppleScript where to find the replaceChars routine (which needs to be  
in the same file as the below script).

So the full script (for you) should look like the below, assuming that  
you a)want to replace the url field and b)want it to pop up in the  
linked URLs as well as in the URL field.

tell application BibDesk
set theDoc to document 1
set thePubsSel to the selection of theDoc
repeat with thePub in thePubsSel
set theURL to the value of field URL of thePub
if theURL contains links.jstor.org then
set theURL2 to replaceChars(theURL, links.jstor.org, 
0- 
www.jstor.org.skyline.cudenver.edu)
set the value of field url of thePub to theURL2
delete linked URL 1 of thePub
make new linked URL with data theURL2 at end of linked 
URLs of thePub
end if
end repeat
end tell

on replaceChars(this_text, search_string, replacement_string)
if this_text contains the search_string then
set oldAStid to AppleScript's text item delimiters
set AppleScript's text item delimiters to the search_string
set the item_list to every text item of this_text
set AppleScript's text item delimiters to the replacement_string
set this_text to the item_list as string
set AppleScript's text item delimiters to oldAStid
end if
return this_text
end replaceChars


On 2008-03-09, at 11:32 AM, Ingrid Giffin wrote:

 I'm trying to write a script to change my JSTOR URLs to the proxy  
 version
 that works for my school. It should copy the URL from the URL field,  
 change
 the URL by a simple string substitution, and paste the result to the
 My_Proxy_URL field.

 It seems to be working up until somewhere in the replaceChars step.  
 I'm sure
 I'm just making some beginner's mistake. Here's my script:

 -

 tell application BibDesk
set theDoc to document 1
set thePubsSel to the selection of theDoc
repeat with thePub in thePubsSel
set theURL to the value of field URL of thePub
if theURL contains links.jstor.org then
set theURL2 to replaceChars(theURL, links.jstor.org,
 0-www.jstor.org.skyline.cudenver.edu)
set My_Proxy_URL to theURL2
end if
end repeat
 end tell
 

 Here's the Event Log:


 tell application BibDesk
get document 1
document Anthro Bib
get selection of document Anthro Bib
{publication 8 of document Anthro Bib}
get value of field URL of publication 8 of document Anthro Bib

 http://links.jstor.org/sici?sici=1558-8610%281972%2914%3Cii%3ATAOATH%3E2.0 
 .
 CO%3B2-P

 replaceChars(http://links.jstor.org/sici?sici=1558-8610%281972%2914%3Cii%3A
 TAOATH%3E2.0.CO%3B2-P, links.jstor.org,
 0-www.jstor.org.skyline.cudenver.edu)
BibDesk got an error: Can't continue replaceChars.

 -

 Thanks for any suggestions.
 --Ingrid Giffin



 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 Bibdesk-users mailing list
 Bibdesk-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bibdesk-users



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users


Re: [Bibdesk-users] Newbie applescripter--any help appreciated

2008-03-09 Thread Ingrid Giffin
Thank you very much! I need to keep the old URL, though, since it's the
stable URL that will be listed in my bib. So I deleted that one line.
Works perfectly--thanks.


 
On 3/9/08 1:13 PM, Alexander H. Montgomery [EMAIL PROTECTED] wrote:

 first, replaceChars needs to be my replaceChars - you have to tell
 AppleScript where to find the replaceChars routine (which needs to be
 in the same file as the below script).
 
 So the full script (for you) should look like the below, assuming that
 you a)want to replace the url field and b)want it to pop up in the
 linked URLs as well as in the URL field.
 
 tell application BibDesk
 set theDoc to document 1
 set thePubsSel to the selection of theDoc
 repeat with thePub in thePubsSel
 set theURL to the value of field URL of thePub
 if theURL contains links.jstor.org then
 set theURL2 to replaceChars(theURL, links.jstor.org, 0-
 www.jstor.org.skyline.cudenver.edu)
 set the value of field url of thePub to theURL2
 delete linked URL 1 of thePub
 make new linked URL with data theURL2 at end of linked URLs of thePub
 end if
 end repeat
 end tell
 
 on replaceChars(this_text, search_string, replacement_string)
 if this_text contains the search_string then
 set oldAStid to AppleScript's text item delimiters
 set AppleScript's text item delimiters to the search_string
 set the item_list to every text item of this_text
 set AppleScript's text item delimiters to the replacement_string
 set this_text to the item_list as string
 set AppleScript's text item delimiters to oldAStid
 end if
 return this_text
 end replaceChars
 
 
 On 2008-03-09, at 11:32 AM, Ingrid Giffin wrote:
 
 I'm trying to write a script to change my JSTOR URLs to the proxy
 version
 that works for my school. It should copy the URL from the URL field,
 change
 the URL by a simple string substitution, and paste the result to the
 My_Proxy_URL field.
 
 It seems to be working up until somewhere in the replaceChars step.
 I'm sure
 I'm just making some beginner's mistake. Here's my script:
 
 -
 
 tell application BibDesk
set theDoc to document 1
set thePubsSel to the selection of theDoc
repeat with thePub in thePubsSel
set theURL to the value of field URL of thePub
if theURL contains links.jstor.org then
set theURL2 to replaceChars(theURL, links.jstor.org,
 0-www.jstor.org.skyline.cudenver.edu)
set My_Proxy_URL to theURL2
end if
end repeat
 end tell
 
 
 Here's the Event Log:
 
 
 tell application BibDesk
get document 1
document Anthro Bib
get selection of document Anthro Bib
{publication 8 of document Anthro Bib}
get value of field URL of publication 8 of document Anthro Bib
 
 http://links.jstor.org/sici?sici=1558-8610%281972%2914%3Cii%3ATAOATH%3E2.0
 .
 CO%3B2-P
 
 replaceChars(http://links.jstor.org/sici?sici=1558-8610%281972%2914%3Cii%3A
 TAOATH%3E2.0.CO%3B2-P, links.jstor.org,
 0-www.jstor.org.skyline.cudenver.edu)
BibDesk got an error: Can't continue replaceChars.
 
 -
 
 Thanks for any suggestions.
 --Ingrid Giffin
 
 
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 Bibdesk-users mailing list
 Bibdesk-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bibdesk-users
 
 
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 Bibdesk-users mailing list
 Bibdesk-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bibdesk-users



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users


[Bibdesk-users] Some linked URLs loading incorrectly

2008-03-09 Thread Ingrid Giffin

I've been having some trouble with URLs in the linked documents pane. The
URL is correct, but when I click to go to the URL, it is changed so that the
link is broken.

Example: 

There is a URL in the linked documents pane. It is:

http://links.jstor.org/sici?sici=1558-8610%281972%2914%3Cii%3ATAOATH%3E2.0.C
O%3B2-P  (This is the text that displays in the rollover, and also in the
field when I load replace URL)

This is a correct URL, meaning that if I manually copy and paste it into my
browser, the correct page loads.

When I click to go to the URL, the URL that loads in the address bar of the
browser is:

http://links.jstor.org/sici?sici=1558-8610(1972)14%20ii%3ATAOATH%3E2.0.CO%3B
2-P#5152816683755922857

...and the page is not found.

The JSTOR error page gives this message:

Technical Error Message:
Incorrect Contribution Segment
The SICI was 1558-8610(1972)14 ii:TAOATH2.0.CO;2-P



I'm running BibDesk Version 1.3.14 (v1008)

Thanks,
Ingrid Giffin



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users


Re: [Bibdesk-users] Some linked URLs loading incorrectly

2008-03-09 Thread Christiaan Hofman

On 9 Mar 2008, at 8:47 PM, Ingrid Giffin wrote:


 I've been having some trouble with URLs in the linked documents  
 pane. The
 URL is correct, but when I click to go to the URL, it is changed so  
 that the
 link is broken.

 Example:

 There is a URL in the linked documents pane. It is:

 http://links.jstor.org/sici?sici=1558-8610%281972%2914%3Cii%3ATAOATH%3E2.0.C
 O%3B2-P  (This is the text that displays in the rollover, and also  
 in the
 field when I load replace URL)

 This is a correct URL, meaning that if I manually copy and paste it  
 into my
 browser, the correct page loads.

 When I click to go to the URL, the URL that loads in the address bar  
 of the
 browser is:

 http://links.jstor.org/sici?sici=1558-8610(1972)14%20ii%3ATAOATH%3E2.0.CO%3B
 2-P#5152816683755922857

 ...and the page is not found.

 The JSTOR error page gives this message:

 Technical Error Message:
 Incorrect Contribution Segment
 The SICI was 1558-8610(1972)14 ii:TAOATH2.0.CO;2-P



 I'm running BibDesk Version 1.3.14 (v1008)

 Thanks,
 Ingrid Giffin



That must be a problem of the browser then. BibDesk just sends the URL  
it has o the system to open, the rest is out of our hands.

Christiaaan


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users


Re: [Bibdesk-users] Recent nightly builds

2008-03-09 Thread Christiaan Hofman
There have been some significant changes to the previews (indeed, non- 
singular). The changes should be obvious. Also the internals of the  
file icon views have changed quite a bit. Keep an eye on performance  
and possible bugs there, and the build-in downloading functionality.

Christiaan

On 9 Mar 2008, at 8:06 PM, Adam M.Goldstein wrote:

 Christaan-

 I am going to start getting back on the nightly build bandwagon. Is
 there anything in particular that you need testers to pay attention  
 to?

 -Adam
 =
 Adam M. Goldstein PhD MSLIS
 Assistant Professor of Philosophy
 Iona College
 --
 email:[EMAIL PROTECTED]
 web:  http://www.iona.edu/faculty/agoldstein/
 tel:  (914) 637-2717
 post: Iona College
 Department of Philosophy
 715 North Avenue
 New Rochelle, NY 10801


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users


Re: [Bibdesk-users] Some linked URLs loading incorrectly

2008-03-09 Thread Ingrid Giffin

On 3/9/08 2:18 PM, Christiaan Hofman [EMAIL PROTECTED] wrote:

 
 On 9 Mar 2008, at 8:47 PM, Ingrid Giffin wrote:
 
 
 I've been having some trouble with URLs in the linked documents  pane. The
 URL is correct, but when I click to go to the URL, it is changed so  that the
 link is broken.
 
 Example:
 
 There is a URL in the linked documents pane. It is:
 
 http://links.jstor.org/sici?sici=1558-8610%281972%2914%3Cii%3ATAOATH%3E2.0.C
 O%3B2-P  (This is the text that displays in the rollover, and also  in the
 field when I load replace URL)
 
 This is a correct URL, meaning that if I manually copy and paste it  into my
 browser, the correct page loads.
 
 When I click to go to the URL, the URL that loads in the address bar  of the
 browser is:
 
 http://links.jstor.org/sici?sici=1558-8610(1972)14%20ii%3ATAOATH%3E2.0.CO%3B
 2-P#5152816683755922857
 
 ...and the page is not found.
 
 The JSTOR error page gives this message:
 
 Technical Error Message: Incorrect Contribution Segment The SICI was
 1558-8610(1972)14 ii:TAOATH2.0.CO;2-P
 
 
 
 I'm running BibDesk Version 1.3.14 (v1008)
 
 Thanks, Ingrid Giffin
 
 
 
 That must be a problem of the browser then. BibDesk just sends the URL
 it has o the system to open, the rest is out of our hands.
 
 Christiaaan


Why would it get fouled up when passed from BibDesk, while it works when I
paste it manually?

Ingrid



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users


Re: [Bibdesk-users] Some linked URLs loading incorrectly

2008-03-09 Thread Christiaan Hofman

On 9 Mar 2008, at 9:31 PM, Ingrid Giffin wrote:

 On 3/9/08 2:18 PM, Christiaan Hofman [EMAIL PROTECTED] wrote:


 On 9 Mar 2008, at 8:47 PM, Ingrid Giffin wrote:


 I've been having some trouble with URLs in the linked documents   
 pane. The
 URL is correct, but when I click to go to the URL, it is changed  
 so  that the
 link is broken.

 Example:

 There is a URL in the linked documents pane. It is:

 http://links.jstor.org/sici?sici=1558-8610%281972%2914%3Cii%3ATAOATH%3E2.0.C
 O%3B2-P  (This is the text that displays in the rollover, and  
 also  in the
 field when I load replace URL)

 This is a correct URL, meaning that if I manually copy and paste  
 it  into my
 browser, the correct page loads.

 When I click to go to the URL, the URL that loads in the address  
 bar  of the
 browser is:

 http://links.jstor.org/sici?sici=1558-8610(1972)14%20ii%3ATAOATH%3E2.0.CO%3B
 2-P#5152816683755922857

 ...and the page is not found.

 The JSTOR error page gives this message:

 Technical Error Message:
 Incorrect Contribution Segment
 The SICI was 1558-8610(1972)14 ii:TAOATH2.0.CO;2-P



 I'm running BibDesk Version 1.3.14 (v1008)

 Thanks,
 Ingrid Giffin



 That must be a problem of the browser then. BibDesk just sends the  
 URL
 it has o the system to open, the rest is out of our hands.

 Christiaaan

 That seems to be it. Is there any way to set BibDesk to use a  
 different
 browser than the default browserr?

 Ingrid


No.

Christiaan


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users


Re: [Bibdesk-users] Some linked URLs loading incorrectly

2008-03-09 Thread Alexander H. Montgomery

On 2008-03-09, at 1:44 PM, Ingrid Giffin wrote:


 On 3/9/08 2:18 PM, Christiaan Hofman [EMAIL PROTECTED] wrote:


 On 9 Mar 2008, at 8:47 PM, Ingrid Giffin wrote:


 I've been having some trouble with URLs in the linked documents   
 pane. The
 URL is correct, but when I click to go to the URL, it is changed  
 so  that the
 link is broken.

 Example:

 There is a URL in the linked documents pane. It is:

 http://links.jstor.org/sici?sici=1558-8610%281972%2914%3Cii%3ATAOATH%3E2.0.C
 O%3B2-P  (This is the text that displays in the rollover, and  
 also  in the
 field when I load replace URL)

 This is a correct URL, meaning that if I manually copy and paste  
 it  into my
 browser, the correct page loads.

 When I click to go to the URL, the URL that loads in the address  
 bar  of the
 browser is:

 http://links.jstor.org/sici?sici=1558-8610(1972)14%20ii%3ATAOATH%3E2.0.CO%3B
 2-P#5152816683755922857

 ...and the page is not found.

 The JSTOR error page gives this message:

 Technical Error Message: Incorrect Contribution Segment The SICI was
 1558-8610(1972)14 ii:TAOATH2.0.CO;2-P



 I'm running BibDesk Version 1.3.14 (v1008)

 Thanks, Ingrid Giffin



 That must be a problem of the browser then. BibDesk just sends the  
 URL
 it has o the system to open, the rest is out of our hands.

 Christiaaan


 Why would it get fouled up when passed from BibDesk, while it works  
 when I
 paste it manually?

 Ingrid

When cutting and pasting, browsers sometimes try to fix URLs,  
whereas BibDesk is passing the URL directly.

In this case, the incorrect bottom URL substitutes a %20, which is a  
space, for a %3C, which is a left-angle bracket ().

If it's just this one record, I'd re-paste the JSTOR permanent URL and  
see if that works.

-AHM

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users


Re: [Bibdesk-users] Some linked URLs loading incorrectly

2008-03-09 Thread Christiaan Hofman

On 9 Mar 2008, at 9:44 PM, Ingrid Giffin wrote:


 On 3/9/08 2:18 PM, Christiaan Hofman [EMAIL PROTECTED] wrote:


 On 9 Mar 2008, at 8:47 PM, Ingrid Giffin wrote:


 I've been having some trouble with URLs in the linked documents   
 pane. The
 URL is correct, but when I click to go to the URL, it is changed  
 so  that the
 link is broken.

 Example:

 There is a URL in the linked documents pane. It is:

 http://links.jstor.org/sici?sici=1558-8610%281972%2914%3Cii%3ATAOATH%3E2.0.C
 O%3B2-P  (This is the text that displays in the rollover, and  
 also  in the
 field when I load replace URL)

 This is a correct URL, meaning that if I manually copy and paste  
 it  into my
 browser, the correct page loads.

 When I click to go to the URL, the URL that loads in the address  
 bar  of the
 browser is:

 http://links.jstor.org/sici?sici=1558-8610(1972)14%20ii%3ATAOATH%3E2.0.CO%3B
 2-P#5152816683755922857

 ...and the page is not found.

 The JSTOR error page gives this message:

 Technical Error Message: Incorrect Contribution Segment The SICI was
 1558-8610(1972)14 ii:TAOATH2.0.CO;2-P



 I'm running BibDesk Version 1.3.14 (v1008)

 Thanks, Ingrid Giffin



 That must be a problem of the browser then. BibDesk just sends the  
 URL
 it has o the system to open, the rest is out of our hands.

 Christiaaan


 Why would it get fouled up when passed from BibDesk, while it works  
 when I
 paste it manually?

 Ingrid

No clue. But it's not BibDesk that gets it fouled up. We just hand the  
URL to the system and ask it top open it. So it should completely the  
same as opening it from any other Cocoa app, such as Finder.

Christiaan


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users


Re: [Bibdesk-users] Some linked URLs loading incorrectly

2008-03-09 Thread Christiaan Hofman

On 9 Mar 2008, at 9:53 PM, Alexander H. Montgomery wrote:


 On 2008-03-09, at 1:44 PM, Ingrid Giffin wrote:


 On 3/9/08 2:18 PM, Christiaan Hofman [EMAIL PROTECTED] wrote:


 On 9 Mar 2008, at 8:47 PM, Ingrid Giffin wrote:


 I've been having some trouble with URLs in the linked documents
 pane. The
 URL is correct, but when I click to go to the URL, it is changed
 so  that the
 link is broken.

 Example:

 There is a URL in the linked documents pane. It is:

 http://links.jstor.org/sici?sici=1558-8610%281972%2914%3Cii%3ATAOATH%3E2.0.C
 O%3B2-P  (This is the text that displays in the rollover, and
 also  in the
 field when I load replace URL)

 This is a correct URL, meaning that if I manually copy and paste
 it  into my
 browser, the correct page loads.

 When I click to go to the URL, the URL that loads in the address
 bar  of the
 browser is:

 http://links.jstor.org/sici?sici=1558-8610(1972)14%20ii%3ATAOATH%3E2.0.CO%3B
 2-P#5152816683755922857

 ...and the page is not found.

 The JSTOR error page gives this message:

 Technical Error Message: Incorrect Contribution Segment The SICI  
 was
 1558-8610(1972)14 ii:TAOATH2.0.CO;2-P



 I'm running BibDesk Version 1.3.14 (v1008)

 Thanks, Ingrid Giffin



 That must be a problem of the browser then. BibDesk just sends the
 URL
 it has o the system to open, the rest is out of our hands.

 Christiaaan


 Why would it get fouled up when passed from BibDesk, while it works
 when I
 paste it manually?

 Ingrid

 When cutting and pasting, browsers sometimes try to fix URLs,
 whereas BibDesk is passing the URL directly.

 In this case, the incorrect bottom URL substitutes a %20, which is a
 space, for a %3C, which is a left-angle bracket ().

 If it's just this one record, I'd re-paste the JSTOR permanent URL and
 see if that works.

 -AHM

Just checked with my browser (FireFox), and this URL loads OK from me.  
So BibDesk and the system pass it OK. Therefore it's a bug in your  
default browser, whatever that is. You could also double-ckeck that by  
dragging the URL to the Finder and double-click it there.  I'd file a  
bug report with the makers of that browser, if you want to have it  
fixed.

Christiaan


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users


Re: [Bibdesk-users] Premature end of base64 string

2008-03-09 Thread Christiaan Hofman

On 9 Mar 2008, at 11:35 PM, Justin C. Walker wrote:

 Hi, all,

 I am getting this in the system log:

 Mar  9 15:06:17 zippo BibDesk[15674]: *** -[NSAutoreleasePool
 dealloc]: Exception ignored while releasing an object in an
 autorelease pool.  exception: 'Premature end of Base64 string'
 invoked method: '*** -[BibDocument release]'  object: 0x17548b90

 When I run BibDesk (10.5.2; 1.3.14), it won't open the default .bib
 file.  There is no indication of a problem other than this entry in
 the system log and the fact that I don't get a bib window.

 Is there any way to nail down what's going on?  All of the Bdsk-File-?
 lines in the file seem fine (I got them all into one file, 'split -l1'
 the result, and ran 'base64' on each; no complaints).

 The .bib file is ~5500 lines long, so I don't feel like doing
 surgery :-}.  Is there a hidden default to make BibDesk 'fess up to
 what line is at fault (the Errors window is empty)?

 Thanks as always,

 Justin

 --
 Justin C. Walker, Curmudgeon at Large
 Institute for the Absorption of Federal Funds

There is no easy way to find out where it goes wrong. I hate it that  
the Omni frameworks raise an exception when they fail. Could you  
perhaps send me the file off-list so I can try and figure out what  
goes wrong? In the next nightly BibDesk will at least not crash on  
this, though it may loose the bad link. That may in fact be a way to  
figure out which one gave problems, if you display a Local File column.

Christiaan


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users


Re: [Bibdesk-users] Some linked URLs loading incorrectly

2008-03-09 Thread Ingrid Giffin
On 3/9/08 3:11 PM, Christiaan Hofman [EMAIL PROTECTED] wrote:
 
 On 9 Mar 2008, at 9:53 PM, Alexander H. Montgomery wrote:
 
 On 2008-03-09, at 1:44 PM, Ingrid Giffin wrote:
 
 On 3/9/08 2:18 PM, Christiaan Hofman [EMAIL PROTECTED] wrote:
 
 On 9 Mar 2008, at 8:47 PM, Ingrid Giffin wrote:
 
 
 I've been having some trouble with URLs in the linked documents pane.
 The URL is correct, but when I click to go to the URL, it is changed so
 that the link is broken.
 
 Example:
 
 There is a URL in the linked documents pane. It is:
 
 http://links.jstor.org/sici?sici=1558-8610%281972%2914%3Cii%3ATAOATH%3E2.
 0 
 .C O%3B2-P  (This is the text that displays in the rollover, and also  in
 the field when I load replace URL)
 
 This is a correct URL, meaning that if I manually copy and paste it  into
 my browser, the correct page loads.
 
 When I click to go to the URL, the URL that loads in the address bar  of
 the browser is:
 
 http://links.jstor.org/sici?sici=1558-8610(1972)14%20ii%3ATAOATH%3E2.0.CO
 % 
 3B 2-P#5152816683755922857
 
 ...and the page is not found.
 
 The JSTOR error page gives this message:
 
 Technical Error Message: Incorrect Contribution Segment The SICI  was
 1558-8610(1972)14 ii:TAOATH2.0.CO;2-P
 
 
 
 I'm running BibDesk Version 1.3.14 (v1008)
 
 Thanks, Ingrid Giffin
 
 
 
 That must be a problem of the browser then. BibDesk just sends the URL it
 has o the system to open, the rest is out of our hands.
 
 Christiaaan
 
 
 Why would it get fouled up when passed from BibDesk, while it works when I
 paste it manually?
 
 Ingrid
 
 When cutting and pasting, browsers sometimes try to fix URLs,
 whereas BibDesk is passing the URL directly.
 
 In this case, the incorrect bottom URL substitutes a %20, which is a
 space, for a %3C, which is a left-angle bracket ().
 
 If it's just this one record, I'd re-paste the JSTOR permanent URL and
 see if that works.
 
 -AHM
 
 Just checked with my browser (FireFox), and this URL loads OK from me.
 So BibDesk and the system pass it OK. Therefore it's a bug in your
 default browser, whatever that is. You could also double-ckeck that by
 dragging the URL to the Finder and double-click it there.  I'd file a
 bug report with the makers of that browser, if you want to have it
 fixed.
 
 Christiaan


I too am using Firefox. However, now, as of this hour, all these problem
URLs are working. (After several weeks of not working.) Must be that ol'
user list magic.

Ingrid



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users


[Bibdesk-users] skim notes

2008-03-09 Thread Derick Fay
Is there any way to get Skim notes to sort by page 1) in a display or  
export template  2) in the table that appears from Publication   
Show Notes for Linked Files ?

thx


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users