after several hours of coding, the plugin work in some way.<br><br>at this time, I only use the method similar to |ads.py| to fill in fields into &quot;doc&quot;. And I also find some useful infos in this maillist about SPIRES service. Now, my scipt |spires-ref.py| can get metadata from SPIRES and deliver it to Referencer successfully.<br>
<br>Originally, I only make &quot;eprint&quot; works, that is, only ID=hep-th/9711200 like entry works. Inspired by Tom Brown&#39;s script, I makes more entries like<br><pre>hep-th/9711200<br>0705.0303<br>Maldacena:1997re<br>
CMPHA,43,199<br>Phys.Rev.,D52,5783<br><br>work.<br><br>However, I have bypassed some problems to fulfill these, <br>for I am not clear about the underlying mechanics of Referencer. <br>They are:<br> + disable all other plugins except |spires-ref.py|,<br>
 + still use &quot;doi&quot; method to transfer ID to python plugins ?<br>   I want to use a new method &quot;spires&quot; for this special plugin, <br>   but I can not find a way to make it work.<br><br>And there are some problems. <br>
 + How to transfer &quot;type&quot;, &quot;bibitem&quot; ... to Referencer?<br> + some eprint got from SPIRES like this<br>   eprint   arXiv:0705.0303 [hep-th]<br>   can not be used directly by &quot;arXiv Link&quot;, only <br>
   eprint   arXiv:0705.0303<br>   works. (This problem can be eliminated in my script, <br>   but [hep-th] is still useful strings. So I think &quot;arXiv Link&quot; may introduce some codes to deal with it.)<br><br>The draft of the plugin script |spires-ref.py| is included in the attachment. It works for Referencer 1.1.0 in my Ubuntu 7.10 OS.<br>
<br><br>regards,<br>Huang<br></pre><br><br><div class="gmail_quote">On Feb 18, 2008 5:11 PM, John Spray &lt;<a href="mailto:jcspray@icculus.org">jcspray@icculus.org</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d"><br>On Mon, 2008-02-18 at 10:01 +0800, Zhi-Wei Huang wrote:<br>&gt; I am going to write a plugin to search bibtex info from SPIRES. SPIRES<br>&gt; provides rich bibtex infos for references in the field of high energy<br>
&gt; physics, and it is easy to get the bibtex info from SPIRES.<br><br></div>Cool.<br><div class="Ih2E3d"><br>&gt; How can I deliver these to Referencer? Is there a simple way to carry<br>&gt; it into effect?<br><br></div>
I&#39;ve committed a &quot;parse_bibtex&quot; method to PythonDocument in subversion.<br>It&#39;s completely untested, and probably has text encoding issues. &nbsp;If you<br>rebuild referencer from subversion[1] you can give it a go.<br>
<br>Regards,<br>John<br><br><br>1. <a href="http://icculus.org/referencer/development.html" target="_blank">http://icculus.org/referencer/development.html</a><br><br><br>---<br>To unsubscribe, send a blank email to <a href="mailto:referencer-unsubscribe@icculus.org">referencer-unsubscribe@icculus.org</a><br>
Mailing list archives: <a href="http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?60" target="_blank">http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?60</a><br><br><br></blockquote></div><br>