Create a new feed display site module with RSS feed url of https://www.nytimes.com/svc/collections/v1/publish/https://www.nytimes.com/section/world/rss.xml
Set the word count to 0 - load front page to see the module
set the word count to 5 - load the front page and compare.
5 words of each RSS feed item
...
in each item.
Labels |
Added:
?
|
Well even if that is the case, it’s not working as a char count as regardless what it’s set to all I get is ...
You do get "The..." in one of the entries. So that's working fine.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-06-22 07:42:39 |
Closed_By | ⇒ | PhilETaylor |
Status | Closed | ⇒ | New |
Closed_Date | 2020-06-22 07:42:39 | ⇒ | |
Closed_By | PhilETaylor | ⇒ |
string.truncate counts characters not words
Status | New | ⇒ | Confirmed |
Build | staging | ⇒ | 4.0-dev-b2 |
string.truncate counts characters not words
Word Count
> Character Count
Status | Confirmed | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-12-28 22:53:44 |
Closed_By | ⇒ | bembelimen |
Closed as having a PR
The label says word count but the code handling this is for character count.