diff --git a/index.rdfa.html b/index.rdfa.html index bc91bb7..995e8ab 100644 --- a/index.rdfa.html +++ b/index.rdfa.html @@ -242,58 +242,58 @@
Louisa Teichmann
PDF @@ -374,48 +374,48 @@ -->
Giulia de Giovanelli
diff --git a/scripts/insert_rdfa.py b/scripts/insert_rdfa.py index 56b45b1..62c9f22 100644 --- a/scripts/insert_rdfa.py +++ b/scripts/insert_rdfa.py @@ -24,7 +24,8 @@ for div in t.findall('.//div[@class="subrow"]'): project_link = p.find("./a") project_link.attrib['property'] = "xpub:project" title = project_link.text - div.attrib['resource'] = "#"+project_link.attrib['href'].rstrip("/").split("/")[-1] + div.attrib['id'] = project_link.attrib['href'].rstrip("/").split("/")[-1] + div.attrib['resource'] = "#"+div.attrib['id'] elif i == 2: for ai, pdf_link in enumerate(p.findall("./a")): if ai == 0:
Gersande Schellinx
The Social Shelf Project
PDF