Harvard style - inserting [online] after newspaper name

Hello,

I hope someone can help me, I'm not familiar at all with coding etc. But I'm managing so far to adapt the Harvard - Leeds Metropolitan University style a bit.

One thing I have to do is insert '[online]' in two different ways:

1. After the title of most things (books, reports, etc.). This I think I managed to do by adapting the title macro as follows:

<macro name="title">
<choose>
<if type="bill book graphic legal_case motion_picture report song" match="any">
<text variable="title" font-style="italic"/>
<text term="online" prefix=" [" suffix="]."/>
</if>
<else-if type="chapter">
<text variable="title" quotes="true"/>
</else-if>
<else>
<text variable="title"/>
</else>
</choose>
</macro>

With this I get, for example:

Kelty, C.M. (2008) Two Bits [online]. Durham and London, Duke University Press. Available at: <http://twobits.net/read/>; [18 June 2008].

and

Aslama, M., Siira, K., Rice, R. & Aula, P. (2007) Mapping Communication and Media Research in the U.S. [online]. Available at: <http://www.valt.helsinki.fi/blogs/crc/ReportUSA.pdf>; [1 July 2007].

These are good.

2. But - for the newspaper article, I want the '[online]' to come after the name of the newspaper. But I can't find where that variable is - i.e. it is labelled 'Publication' in the GUI, but I can't seem to find any reference to it in this code. This is what the newspaper article looks like for the moment.

Arthur, C. (2009) The long tail of blogging is dying. The Guardian. Available at: <http://www.guardian.co.uk/technology/2009/jun/24/charles-arthur-blogging-twitter>; [4 July 2009].

[note there are actually italics and such, but that's irrelevant for the moment]

3. While I'm at it, I also want to be able to put in the day and the month (when available, for press releases, newspaper articles, etc.) after the '[online]' and before the 'Available at'.

For example:
Arthur, C. (2009) The long tail of blogging is dying. The Guardian [online], 24 June. Available at: <http://www.guardian.co.uk/technology/2009/jun/24/charles-arthur-blogging-twitter>; [4 July 2009].

I wanted to paste the full code but it makes the comment too long. Please ask if more information is needed. Apologies if I'm not explaining well or not according to whichever protocol usually applies.

Thanks for any pointers.
Julian
  • 2. The variable is container-title
    3. <date variable="issued" delimiter=" ">
    <date-part name="day"/>
    <date-part name="month"/>
    </date>
Sign In or Register to comment.