Template talk:New York Times topic
This template was considered for deletion on 2016 September 12. The result of the discussion was "Keep". |
Edit request on 29 August 2012
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Broken. See Milton Friedman for example. Add /index.html To the end of the generated url Also replace top/reference with topics/reference Example http://topics.nytimes.com/topics/reference/timestopics/people/*********/index.html 184.78.81.245 (talk) 14:53, 29 August 2012 (UTC)
- Done Callanecc (talk • contribs • logs) 08:01, 3 September 2012 (UTC)
Template-protected edit request on 5 December 2016
editThis edit request to Template:NYTtopic has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
The instructions and the generated URL should be updated to match the format now used by nytimes.com.
For example,
should be
and
should be
Whywhenwhohow (talk) 07:28, 5 December 2016 (UTC)
- I see a slight problem. In the second example organizations becomes organization. So it would not be possible just to use the same parameter in the new format. How would the template know to trim off that final "s"? — Martin (MSGJ · talk) 08:45, 5 December 2016 (UTC)
- @MSGJ: Please make a version that does this, at Template:NYTtopic/sandbox for testing. This will need to be tested, preferably using actual cites in extant articles. — SMcCandlish ☺ ☏ ¢ ≽ʌⱷ҅ᴥⱷʌ≼ 09:05, 5 December 2016 (UTC)
- Did you intend to ping me? I was responding to the edit request. — Martin (MSGJ · talk) 09:09, 5 December 2016 (UTC)
- @MSGJ: Please make a version that does this, at Template:NYTtopic/sandbox for testing. This will need to be tested, preferably using actual cites in extant articles. — SMcCandlish ☺ ☏ ¢ ≽ʌⱷ҅ᴥⱷʌ≼ 09:05, 5 December 2016 (UTC)
The topic link
should be
The template has been broken for two years. Any thoughts on fixing it or creating a new one?
Whywhenwhohow (talk) 01:10, 29 October 2019 (UTC)
- Having the template translate parameters intended for old format NYT links (that begin with
http://topics.nytimes.com/top/reference/timestopics/
) to construct URLs in the new format (that begin withhttps://www.nytimes.com/topic/
) may not be easy. In the previous example, the old format URL containsnewenglandpatriots
and the new format URL containsnew-england-patriots
instead, among other things. In the new format URL, the team name contains dashes. Would the template have to know where to insert dashes into the given team name? - One possibility that comes to mind is for the template to take an additional optional parameter that indicates that the generated URL should be of the new format. If the parameter is omitted, then the template generates a URL of the old format. Furthermore, if additional new formats for NYT links arise in the future, it might be possible to have additional values that can be specified for the "link format" parameter in order to indicate the URL format for the generated link. --Elegie (talk) 07:16, 2 November 2019 (UTC)
Name of template
editWould anyone mind if we renamed this template to "New York Times topic"? It would make the purpose of the template clearer. — Martin (MSGJ · talk) 09:09, 5 December 2016 (UTC)
- Done — Martin (MSGJ · talk) 11:49, 6 December 2016 (UTC)
Would it be useful for the template to generate an HTTPS link?
editAs of this writing, the template generates a link with an HTTP URL. For example, {{NYTtopic|people/a/louis_armstrong}}
generates a link to http://topics.nytimes.com/top/reference/timestopics/people/a/louis_armstrong/index.html. Accessing the HTTP URL generates an HTTP 301 (Moved Permanently) redirect to an HTTPS URL. For instance, accessing http://topics.nytimes.com/top/reference/timestopics/people/a/louis_armstrong/index.html generates a 301 redirect to https://www.nytimes.com/topic/person/louis-armstrong.
From what it appears, accessing the initial HTTP URL with HTTPS instead of HTTP generates the same result. For example, accessing https://topics.nytimes.com/top/reference/timestopics/people/a/louis_armstrong/index.html generates a 301 redirect to https://www.nytimes.com/topic/person/louis-armstrong. From this, it would seem that the template could be changed to generate the same link that it does now, but with https:// instead of http://. Such a change would provide increased privacy and security for users, and it would not require changing the pages where the template is currently used.
Other test cases:
{{NYTtopic|people/w/alice_walker}}
generates a link with the URL http://topics.nytimes.com/top/reference/timestopics/people/w/alice_walker/index.html, which when accessed generates a 301 redirect to https://www.nytimes.com/topic/person/alice-walker.{{NYTtopic|organizations/n/new_york_stock_exchange}}
generates a link with the URL http://topics.nytimes.com/top/reference/timestopics/organizations/n/new_york_stock_exchange/index.html, which when accessed generates a 301 redirect to https://www.nytimes.com/topic/organization/new-york-stock-exchange.
Any thoughts from others? --Elegie (talk) 04:51, 28 June 2018 (UTC)
Edit request: Delete quotation marks
edit@MSGJ, The Wordsmith, and Pigsonthewing: Past editors: Greetings and felicitations. Would someone please be so kind as to remove quotation marks from the template output? "[Name] collected news and commentary" is not a title, but a description. See for example the similar templates {{Charlie Rose view}}
, {{C-SPAN}}
, and {{JPosttopic}}
. (Yes, I just made the same request for {{Guardian topic}}
.) —DocWatson42 (talk) 08:18, 14 February 2020 (UTC)
- No. The quote marks wrap the title of the web age to which we link, and are applied by the underlying {{Cite web}} template, as with any web page to which it links. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 10:44, 14 February 2020 (UTC)
Searching
edit- https://archive.nytimes.com/www.nytimes.com/pages/topics/index.html
- https://archive.nytimes.com/topics.nytimes.com/top/reference/timestopics/subjects/all/index.html
to pages at:
- site:www.nytimes.com/topic/person
- site:www.nytimes.com/topic/subject
- site:www.nytimes.com/topic