NEW:
-* can we clean up the add/edit item code in items.py?
+* how should "join this site" be managed?
* write up some documentation
MAYBE:
+* refactor the add/edit item code in items.py
+
* refactor fuzzyFinder into a Genshi component.
* set up a proper issue-tracker?
if value:
out[dc] = value
- pub = [v.strip() for k,v in sorted(dct.items()) if k.startswith('260')]
+ pub = [strip_punct(v) for k,v in sorted(dct.items()) if k in ('260a', '260b')]
if pub:
- out['dc:publisher'] = strip_punct(' '.join(pub))
+ out['dc:publisher'] = ': '.join(pub)
title = [v.strip() for k,v in sorted(dct.items()) if k in ('245a', '245b')]
if title:
pubdate = dublin.get('dc:date')
m = re.search('([0-9]+)', pubdate)
if m:
- pubdate = pubdate.group(1)
+ pubdate = m.group(1)
except:
pubdate = ''
<span py:if="item.published">(${item.published}).</span>
<span py:if="item.source_title"><i>${item.source_title}.</i></span>
<span py:if="item.volume"><i>${item.volume}</i>(${item.issue}), ${item.pages}.</span>
- <span py:if="not item.source_title">
- <span py:if="item.publisher">${item.publisher}.</span>
- </span>
</div>
<div class="forbidden_notice" py:if="forbidden">Awaiting copyright clearance: Not available to students.</div>
<div>