PARINetwork / pari

Django/Wagtail based PARI webapp
http://ruralindiaonline.org
BSD 3-Clause "New" or "Revised" License
37 stars 11 forks source link

Ability to create a custom URL that shows a search-result-like or category-like or author-page-like grouping of articles of my choice #267

Open siddadel opened 6 years ago

siddadel commented 6 years ago

As a web user I must be able to create a custom URL that takes me to a search-result-like page that has a list of articles of my choice so that I can share this on facebook or twitter, with the first story's thumbnail as the embed image.

As an admin user I need to be able to create a custom URL that takes the front-end user to a search-result-like page that has a list of articles of my choice so that I can enter this URL on the carousels on homepage and take the webuser to a list of articles of my choice (that do not fall in the same category, can not be arrived at using search nor are of the same author)

siddadel commented 6 years ago

This requirement is for the ability to dynamically create a PARI page that looks like author-page or individual-category-page or search-result or location-page but comprises of articles that do not fall in any of the former types of page-listing. This is a new requirement but can be a very powerful feature.

Presently article-lists are only of the following types Category page - e.g - https://ruralindiaonline.org/stories/categories/things-we-do Author page - e.g - https://ruralindiaonline.org/authors/rahul-maganti Search results - e.g. https://ruralindiaonline.org/search/?q=election&type=article&type=video&type=audio&language=en Location page e.g https://ruralindiaonline.org/locations/53-yavatmal

All of the above are groupings of articles that have a criterion of grouping that the tech team had thought of previously. But what when we want to show a listing of articles that do not fall under any of the above types. What do we do then?

I believe what we need is the ability to create a custom-url

e.g. something that looks like this:

https://ruralindiaonline.org/custom/11512653

or better even (this is only possible with a dialog, hence it can only be available to admin. Unless an interactive dialog for webusers is built in later versions)

https://ruralindiaonline.org/custom/election-coverage

This will be a powerful feature that will make social sharing of groupings of articles very easy. Web users will be able to share whatever articles they like.