fix titel artikel vs pagename in index vs pagename in page #78

Open
opened 2018-09-27 09:24:34 +00:00 by tammoterhark · 6 comments
tammoterhark commented 2018-09-27 09:24:34 +00:00 (Migrated from github.com)
  • als je de titel veranderd, moet je ook de pagename kunnen veranderen.
  • wat komt er nu in de index terecht? Op dit moment de pagename (en niet de (eventueel veranderde) titel). (Bert zorgt dat titel in index terecht komt en niet de pagename)
  • onderzoek wijst uit dat niet elke pagina een titel heeft. De titel is ook taalgebonden.
  • Voorstel: titel per taal toevoegen aan de kenmerken in Hypha.xml.
  • Voorstel: Als je ook nog de "loktekst" toevoegd, kun je hieruit een home page genereren, zodat je dit niet meer met de hand kunt doen
  • ik werk dit verder uit
- als je de titel veranderd, moet je ook de pagename kunnen veranderen. - wat komt er nu in de index terecht? Op dit moment de pagename (en niet de (eventueel veranderde) titel). (Bert zorgt dat titel in index terecht komt en niet de pagename) - onderzoek wijst uit dat niet elke pagina een titel heeft. De titel is ook taalgebonden. - Voorstel: titel per taal toevoegen aan de kenmerken in Hypha.xml. - Voorstel: Als je ook nog de "loktekst" toevoegd, kun je hieruit een home page genereren, zodat je dit niet meer met de hand kunt doen - ik werk dit verder uit
tammoterhark commented 2018-10-04 07:43:58 +00:00 (Migrated from github.com)

pagina bewerken duurzaam amersfoort zuid wordpress
Voorbeeld uit Wordpress

![pagina bewerken duurzaam amersfoort zuid wordpress](https://user-images.githubusercontent.com/6483317/46459722-fd754b80-c7b9-11e8-889d-18226e07ac76.png) Voorbeeld uit Wordpress
tammoterhark commented 2018-10-04 07:48:27 +00:00 (Migrated from github.com)

Wellicht is onder water een unieke code (oplopend nummer kan ook) ook handig. Of zit dat er al in?

Wellicht is onder water een unieke code (oplopend nummer kan ook) ook handig. Of zit dat er al in?
tammoterhark commented 2018-10-04 08:07:41 +00:00 (Migrated from github.com)

Eerdere reactie van Laurens: Cannot reproduce, please supply more information

Eerdere reactie van Laurens: Cannot reproduce, please supply more information
matthijskooijman commented 2018-11-26 20:48:24 +00:00 (Migrated from github.com)

A unique identifier in the url (/123-name-of-page or /123/name-of-page) could work, which is done by some sites. In practice, this means only the identifier is looked at (so the name-of-page can be changed without breaking existing urls). Urls like these are not suitable for all pages, though (e.g. a contact page should probably just be /contact, and urls that are used in printed media should also be short).

For articles, date-based urls could also be useful (to allow re-using titles/page names at a later point in time).

Regardless of the above, it seems a good idea to apply a title/name distinction to all pagetypes, not just articles.

A unique identifier in the url (/123-name-of-page or /123/name-of-page) could work, which is done by some sites. In practice, this means *only* the identifier is looked at (so the name-of-page can be changed without breaking existing urls). Urls like these are not suitable for all pages, though (e.g. a contact page should probably just be /contact, and urls that are used in printed media should also be short). For articles, date-based urls could also be useful (to allow re-using titles/page names at a later point in time). Regardless of the above, it seems a good idea to apply a title/name distinction to all pagetypes, not just articles.
tammoterhark commented 2019-04-11 08:09:34 +00:00 (Migrated from github.com)

This is getting more needed, since in De Stadsbron we now have articles like:

http://destadsbron.nl/nl/Addy_Schuurman_en_Eric_van_der_Velden
with the title: Bouwkoorts (4): 'Iedereen dacht: de sociale huursector kan wel krimpen'

This is because the first title was (by accident) the names of the authors.

And also rather clumsy:
http://destadsbron.nl/nl/bouwkoort_3 (missing "s")
Title: bouwkoorts (3): één op de zes nieuwe huurders is import

This is getting more needed, since in De Stadsbron we now have articles like: http://destadsbron.nl/nl/Addy_Schuurman_en_Eric_van_der_Velden with the title: Bouwkoorts (4): 'Iedereen dacht: de sociale huursector kan wel krimpen' This is because the first title was (by accident) the names of the authors. And also rather clumsy: http://destadsbron.nl/nl/bouwkoort_3 (missing "s") Title: bouwkoorts (3): één op de zes nieuwe huurders is import
tammoterhark commented 2019-04-11 08:26:07 +00:00 (Migrated from github.com)

Drupal has this mechanism as Matthijs hinted at. All pages are reachable through /node/[nid] where [nid] is the unique page identifier. Next to that you can change the url of the page, as long as there are no conclicts with same named pages.

Drupal has this mechanism as Matthijs hinted at. All pages are reachable through /node/[nid] where [nid] is the unique page identifier. Next to that you can change the url of the page, as long as there are no conclicts with same named pages.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
harmen/hypha#78
No description provided.