Skip to content

[ENH] add articles to the list as soon as they are published

Eutyche odimba requested to merge keutyche/tiki:ArtcleMap into master

it's a bit contradictory at this level. articles have preferences for each of them such as tiki_p_read_article or tiki_p_articles_read_heading. they are customizable for each article. that's good. at the same time articles have a very practical option which is published which makes the article visible to the public. in the code that's kind of the idea. but in fact an article is only accessible to the sitemap when one of the two preferences above is activated. it also seems logical. yet an article is publicly accessible as soon as it is published. so the consequence is that some articles are visible to the public but not visible to google for its sitemap. so although i haven't gone through all the cases where the list_articles() function is called, i think that a publicly visible article has all the rights or roles that an article that has the tiki_p_read_article preference activated. just this little addition allows to do that.

https://avan.tech/item88171-The-sitemap-no-longer-generates-articles

Merge request reports