google-code-backups / get-simple-cms

Automatically exported from code.google.com/p/get-simple-cms
GNU General Public License v3.0
0 stars 0 forks source link

sitemap generation not using new pages.xml cache file #302

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I just noticed that in template_functions.php, function generate_sitemap() is 
populating $pagesArray 'the old way' (lines 1039 and 1044-1059) instead of 
simply calling getPagesXmlValues()

Original issue reported on code.google.com by carnav on 24 Feb 2012 at 6:36

GoogleCodeExporter commented 8 years ago
Well it's not only that one - other functions in template_functions.php are 
reading all data/pages/*.xml instead of getting the data from pages.xml

(BTW I said "calling getPagesXmlValues()" without thinking much, :) I'm not 
sure it's the correct way, I haven't checked...)

Original comment by carnav on 25 Feb 2012 at 10:02

GoogleCodeExporter commented 8 years ago
originally we were just going to convert a couple of the functions in the core 
to use the caching to see how things went. Seems we forgot about converting the 
rest. 

Original comment by MichaelS...@gmail.com on 25 Feb 2012 at 2:53

GoogleCodeExporter commented 8 years ago
Can we identify all these not yet converted code here ?

Original comment by tablatronics on 26 Jun 2012 at 3:39