From: jiho <jo....@gm...> - 2005-08-23 17:00:44
|
Hi list (even if this is a question probably more targeted at richard), I am trying to write a script to sync very simply a local bibtex database and citeulike database. - from citeulike to local, things are easy: citeulike database is downloaded and replaces local database after few checks - from local to citeulike things are more tricky. I have to import a bibtex file using curl. I issue the command: curl -F file="/Volumes/files/work/bibliographie/test.bib" -F tag="test-curl" http://www.citeulike.org/import_bibtex but receive: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <HTML> <HEAD> <TITLE>Not Found</TITLE> </HEAD> <BODY> <H2>Not Found</H2> The requested URL was not found on this server. <P ALIGN=RIGHT><SMALL><I>AOLserver/4.0.10 on http://new.citeulike.org:9000</I></SMALL></P> </BODY></HTML> I'm far from beeing a curl professional so if anybody has a hint... My guess is that I can't actually "press" the "Import BibTeX file..." button with curl because this input field has no name, just a type and a value: <div align="right"> <input type="submit" value="Import BibTeX file..." /> </div> so this might be changed... please ;-) or maybe the url is not correct? looking forward to any comment and thank you in advance. JiHO --- Windows, c'est un peu comme le beaujolais nouveau : a chaque nouvelle cuvee on sait que ce sera degueulasse, mais on en prend quand meme par masochisme. --- http://jo.irisson.free.fr/ |