1
0
mirror of https://github.com/e107inc/e107.git synced 2025-09-01 02:21:58 +02:00

Issue #3291 - gSitemap upgrades to save table and table_id info for syncing on changes. (coming soon)

This commit is contained in:
Cameron
2020-12-09 15:12:56 -08:00
parent 2b77aa89d4
commit d0feb76cef
5 changed files with 54 additions and 14 deletions

View File

@@ -32,6 +32,8 @@ class news_gsitemap
foreach($data as $row)
{
$import[] = array(
'id' => $row['category_id'],
'table' => 'news_category',
'name' => $row['category_name'],
'url' => e107::getUrl()->create('news/list/category', $row, array('full' => 1)) ,
'type' => LAN_NEWS_23
@@ -51,6 +53,8 @@ class news_gsitemap
foreach($data as $row)
{
$import[] = array(
'id' => $row['news_id'],
'table' => 'news',
'name' => $row['news_title'],
'url' => e107::getUrl()->create('news/view/item', $row, array('full' => 1)),
'type' => ADLAN_0