Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fine-graining control of expired articles #18

Closed
ghost opened this issue Oct 4, 2014 · 11 comments
Closed

Fine-graining control of expired articles #18

ghost opened this issue Oct 4, 2014 · 11 comments

Comments

@ghost
Copy link

ghost commented Oct 4, 2014

From r.wetzlmayr on July 09, 2009 09:32:48

Past their expiry date, expired articles are output according to the
'publish_expired_articles' prefs - a site-wide setting which affects the
range of electable articles for both XHTML output and RSS/Atom feeds.

For feeds, this behaviour seems sufficient.

OTOH, XHTML pages should allow expired articles to get published in any
arbitrary fashion, at the designer's discretion. An additional attribute to
<txp:article[_custom] />, <txp:recent_articles /> and <txp:related_articles
/> would be reasonable.

Related discussion: http://forum.textpattern.com/viewtopic.php?id=30726

Original issue: http://code.google.com/p/textpattern/issues/detail?id=14

@ghost
Copy link
Author

ghost commented Oct 4, 2014

From r.wetzlmayr on July 16, 2009 00:10:42

Labels: Milestone-4.2 Priority-Medium

@ghost
Copy link
Author

ghost commented Oct 4, 2014

From r.wetzlmayr on April 20, 2012 04:04:41

Labels: -Milestone-4.2

@ghost
Copy link
Author

ghost commented Oct 4, 2014

From julian.l...@gmail.com on July 04, 2012 15:02:09

I was looking on how to include expired articles on a list of articles rendered by article_custom, without having to change the "Publish expired articles" preference. I ended up here.
Is this still in the roadmap? or is it already in TXP 4.4.1 but issue is still open?

In the meanwhile, I used smd_article_event (from smd_calendar plugin) to get the desired output without changing the "Publish expired articles" preference.

@ghost
Copy link
Author

ghost commented Oct 4, 2014

From r.wetzlmayr on December 25, 2013 01:55:03

Status:
Owner: ---

@vanmelick
Copy link
Contributor

Restoring missing content in issue start:


Project Member Reported by r.wetzlmayr, Jul 9, 2009

Past their expiry date, expired articles are output according to the
'publish_expired_articles' prefs - a site-wide setting which affects the
range of electable articles for both XHTML output and RSS/Atom feeds.

For feeds, this behaviour seems sufficient.

OTOH, XHTML pages should allow expired articles to get published in any
arbitrary fashion, at the designer's discretion. An additional attribute to
<txp:article[_custom] />, <txp:recent_articles /> and <txp:related_articles /> would be reasonable.

Related discussion: http://forum.textpattern.com/viewtopic.php?id=30726

philwareham pushed a commit that referenced this issue Jul 4, 2017
@philwareham
Copy link
Member

@Bloke what's your take on this? Been open for years and not sure it's still an issue? Close or keep open?

@Bloke
Copy link
Member

Bloke commented Nov 1, 2017

It probably has value, I just haven't looked at the referenced thread and immersed myself in it. Will try and do that this week and see if there's anything that can be done about it.

@bloatware
Copy link
Member

FWIW, <txp:article_custom /> (thus <txp:recent_articles /> and <txp:related_articles />) accepts expired attribute and outputs expired articles accordingly. Can be closed, I think.

@philwareham
Copy link
Member

Great, thanks Oleg. Good enough for me - closing.

@bloatware
Copy link
Member

While we are there, we could extend the binary expired to time values. So, expired="-10 days" would mean "not expired before 10 days ago". Just for fun :-)

@Bloke
Copy link
Member

Bloke commented Nov 1, 2017

If it's easy to do, sure, why not. Might as well really make this attribute totally head-scratching! But as it would open up some interesting event-based possiblities, it has value I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants