<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://pkp.sfu.ca/bugzilla/bugzilla.dtd">

<bugzilla version="4.2.5+"
          urlbase="http://pkp.sfu.ca/bugzilla/"
          
          maintainer="pkp-hosted@sfu.ca"
>

    <bug>
          <bug_id>5279</bug_id>
          
          <creation_ts>2010-03-30 22:52:00 -0700</creation_ts>
          <short_desc>Crossref Export plugin should include page numbers where appropriate</short_desc>
          <delta_ts>2013-01-09 23:10:59 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>OJS</product>
          <component>Plug-ins</component>
          <version>2.4.x</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Mac OS X 10.3</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>6957</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="James MacGregor">jmacgreg</reporter>
          <assigned_to name="James MacGregor">jmacgreg</assigned_to>
          <cc>alec</cc>
    
    <cc>ales.kladnik</cc>
          
          

      

      

      

          <long_desc isprivate="0">
            <commentid>19043</commentid>
            <who name="James MacGregor">jmacgreg</who>
            <bug_when>2010-03-30 22:52:01 -0700</bug_when>
            <thetext>The Crossref export plugin doesn&apos;t include page numbers when the journal enables them. It should include at a minimum the first article page like so: 

&lt;pages&gt;
&lt;first_page&gt;2268&lt;/first_page&gt;
&lt;/pages&gt;

Full sample XML files for journals, but also conferences and monographs, can be viewed here: http://www.crossref.org/schema/info/samples/4.3.0_samples/. 

(Courtesy of http://pkp.sfu.ca/support/forum/viewtopic.php?f=8&amp;t=5876&amp;start=0)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <commentid>20139</commentid>
            <who name="Alec Smecher">alec</who>
            <bug_when>2010-07-20 12:45:24 -0700</bug_when>
            <thetext>Deferring.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <commentid>24282</commentid>
            <who name="Ales Kladnik">ales.kladnik</who>
            <bug_when>2011-07-08 04:10:33 -0700</bug_when>
            <thetext>Following the Crossref XML schema &lt;pages&gt; need to be specified. I used regular expressions search&amp;replace in Notepad++ to correct the output of Crossref plugin:

Find: &lt;publisher_item&gt;&lt;item_number&gt;([S0-9]*)-([S0-9]*)&lt;/item_number&gt;&lt;/publisher_item&gt;
Replace with: &lt;pages&gt;&lt;first_page&gt;\1&lt;/first_page&gt;&lt;last_page&gt;\2&lt;/last_page&gt;&lt;/pages&gt;

also fill in the name of registrant (publisher name) somewhere near the beginning of the XML file:
&lt;registrant&gt;registrant-name&lt;/registrant&gt;

-Ales</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <commentid>25345</commentid>
            <who name="James MacGregor">jmacgreg</who>
            <bug_when>2011-09-12 14:02:30 -0700</bug_when>
            <thetext>(In reply to comment #2)
&gt; Following the Crossref XML schema &lt;pages&gt; need to be specified. I used regular
&gt; expressions search&amp;replace in Notepad++ to correct the output of Crossref
&gt; plugin:
&gt; 
&gt; Find:
&gt; &lt;publisher_item&gt;&lt;item_number&gt;([S0-9]*)-([S0-9]*)&lt;/item_number&gt;&lt;/publisher_item&gt;
&gt; Replace with:
&gt; &lt;pages&gt;&lt;first_page&gt;\1&lt;/first_page&gt;&lt;last_page&gt;\2&lt;/last_page&gt;&lt;/pages&gt;
&gt; 
&gt; also fill in the name of registrant (publisher name) somewhere near the
&gt; beginning of the XML file:
&gt; &lt;registrant&gt;registrant-name&lt;/registrant&gt;
&gt; 
&gt; -Ales

Thanks for the comment, Ales. I&apos;ll try and get a fix to this shortly. One note: the registrant information will be automatically supplied if you add a publisher to Journal Setup Step 1.5.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <commentid>25360</commentid>
            <who name="Ales Kladnik">ales.kladnik</who>
            <bug_when>2011-09-12 23:41:19 -0700</bug_when>
            <thetext>Thank you James!
Regarding the registrant name: I have all three fields filled-in in the Setup step 1.5, but the &lt;registrant&gt; doesn&apos;t get generated. Also, I noticed that in the About page I have no information displayed about Publisher: http://www.ias-iss.org/ojs/IAS/about
There is a PKP support forum post describing the same problem here: http://pkp.sfu.ca/support/forum/viewtopic.php?f=8&amp;t=7569&amp;p=30661#p30661
-ales</thetext>
          </long_desc>
      
      

    </bug>

</bugzilla>