You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactors feed titles and descriptions, add pagination to feed and contribution pages
Updates feed titles and descriptions for clarity and consistency, removing redundant information about feed types.
Also modifies the contribute page to include pagination and increase the number of publications shown.
Finally, it updates expected XML files for feed generation tests.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,6 +64,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
64
64
65
65
### Changed
66
66
67
+
-**Contribution page pagination** - Added full pagination support to the contribution page (`/contribute/`) with:
68
+
- Configurable page size (default 50, min 10, max 200 works per page)
69
+
- User-selectable page size dropdown with automatic form submission
70
+
- Full pagination controls at top and bottom (First, Previous, page numbers, Next, Last)
71
+
- Shows current range (e.g., "Showing 1 to 50 of 150 works")
72
+
- Fixed variable name bugs (`publication` → `work` throughout template)
73
+
- Reuses the same pagination layout as works listing page for consistency
67
74
-**Model terminology alignment** - Renamed base entity from "publications" to "works" throughout the codebase to align with [OpenAlex terminology](https://docs.openalex.org/api-entities/works):
68
75
- Django app renamed from `publications/` to `works/`
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:georss="http://www.georss.org/georss" xmlns:gml="http://www.opengis.net/gml"><channel><title>OPTIMAP - Latest Publications (GEORSS)</title><link>http://testserver/</link><description>Latest research publications with geographic data from OPTIMAP.</description><atom:link href="http://testserver/api/v1/feeds/optimap-global.rss" rel="self"/><language>en-us</language><lastBuildDate>Mon, 27 Oct 2025 21:43:33 +0000</lastBuildDate><atom:link href="http://testserver/api/v1/feeds/optimap-global.rss" rel="self" type="application/rss+xml"/><item><title>LineString Test</title><link>http://127.0.0.1:8000/work/10.1234/test-doi-3/</link><description>Publication with a linestring inside a collection.</description><pubDate>Sat, 20 May 2023 00:00:00 +0000</pubDate><guid>http://127.0.0.1:8000/work/10.1234/test-doi-3/</guid><georss:line>45.0 5.0 46.0 6.0 45.5 7.0</georss:line></item><item><title>Polygon Test</title><link>http://127.0.0.1:8000/work/10.1234/test-doi-2/</link><description>Publication with a polygon inside a collection.</description><pubDate>Mon, 15 May 2023 00:00:00 +0000</pubDate><guid>http://127.0.0.1:8000/work/10.1234/test-doi-2/</guid><georss:polygon>50.0 10.0 51.0 11.0 50.0 12.0 50.0 10.0</georss:polygon></item><item><title>Point Test</title><link>http://127.0.0.1:8000/work/10.1234/test-doi-1/</link><description>Publication with a single point inside a collection.</description><pubDate>Wed, 10 May 2023 00:00:00 +0000</pubDate><guid>http://127.0.0.1:8000/work/10.1234/test-doi-1/</guid><georss:point>41.8902 12.4924</georss:point></item></channel></rss>
2
+
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:georss="http://www.georss.org/georss" xmlns:gml="http://www.opengis.net/gml"><channel><title>OPTIMAP - Latest works</title><link>http://testserver/</link><description>Latest research works with geographic metadata from OPTIMAP.</description><atom:link href="http://testserver/api/v1/feeds/optimap-global.rss" rel="self"/><language>en-us</language><lastBuildDate>Mon, 27 Oct 2025 21:43:33 +0000</lastBuildDate><atom:link href="http://testserver/api/v1/feeds/optimap-global.rss" rel="self" type="application/rss+xml"/><item><title>LineString Test</title><link>http://127.0.0.1:8000/work/10.1234/test-doi-3/</link><description>Publication with a linestring inside a collection.</description><pubDate>Sat, 20 May 2023 00:00:00 +0000</pubDate><guid>http://127.0.0.1:8000/work/10.1234/test-doi-3/</guid><georss:line>45.0 5.0 46.0 6.0 45.5 7.0</georss:line></item><item><title>Polygon Test</title><link>http://127.0.0.1:8000/work/10.1234/test-doi-2/</link><description>Publication with a polygon inside a collection.</description><pubDate>Mon, 15 May 2023 00:00:00 +0000</pubDate><guid>http://127.0.0.1:8000/work/10.1234/test-doi-2/</guid><georss:polygon>50.0 10.0 51.0 11.0 50.0 12.0 50.0 10.0</georss:polygon></item><item><title>Point Test</title><link>http://127.0.0.1:8000/work/10.1234/test-doi-1/</link><description>Publication with a single point inside a collection.</description><pubDate>Wed, 10 May 2023 00:00:00 +0000</pubDate><guid>http://127.0.0.1:8000/work/10.1234/test-doi-1/</guid><georss:point>41.8902 12.4924</georss:point></item></channel></rss>
<pclass="lead">Help us add geographic data to scientific works!</p>
12
+
<pclass="lead">Help us add geographic metadata to scientific works!</p>
13
13
14
14
<pclass="text-wrap text-break">The works listed below have been harvested from various scientific sources but do not have geolocation data yet. If you know the geographic location or area mentioned in any of these publications, you can help us improve our database.</p>
Showing first 100 of {{ publications|length }} works only. More publications without geolocation data are available, please make your contributions and then refresh this page. If you would like to contribute for a specific journal or field, please get in touch.
83
-
</div>
155
+
<!-- Pagination controls (bottom) -->
156
+
{% if page_obj and page_obj.paginator.num_pages > 1 %}
0 commit comments