Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
9 - 4 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
   

Re: xsitemap alternative theme
by aerograf on 2017/5/5 15:52:40

Thank you.
I also made this decision. I would also add something that I mentioned earlier:
$ Xml_url-> appendChild ($ xml-> createComment (htmlentities (ucwords ($ mod ['name'])). ""));
You have line 191
Here's what I got. Https://www.shmel.org/sitemap/ The truth is not done yet.
Add--
Here's how I still work https://www.shmel.org/xml_google.php But not everything is done, because You need to bind the model.
Re: xsitemap alternative theme
by zyspec on 2017/5/5 15:45:33

I just issued a pull request to fix the sub-category problem with the XML rendering. You can see the changes at https://github.com/XoopsModules25x/xsitemap/pull/7/commits/f54007c2d7730d89301436b6101e11ead630dbc3

The changes that effect the sub-cateogory issue are contained in the ./include/function.php file. The changes in the xoops_version.php file aren't required, I just updated the date so we could tell that the BETA 1 had been updated.
Re: xsitemap alternative theme
by zyspec on 2017/5/5 14:49:41

EDIT: Can I ask if you've tried turning off subcategories in the module's Preferences to see how the search engines react?

I think I see the problem with sub-categories... the XML isn't being formed correctly when there are subcategories.
Re: xsitemap alternative theme
by aerograf on 2017/5/4 13:11:29

It is necessary to understand still with correct generation of a file xsitemap.xml
Search engines react poorly to reading subcategories from a file. Issue a warning.
Re: xsitemap alternative theme
by aerograf on 2017/5/4 13:06:40

Quote:

zyspec wrote:
@aerograf / @Bleekk,

There was a new version of xsitemap uploaded today (v1.54 Beta) that you might want to look at before you modify anything other than templates. There were quite a few changes/improvements so it would be better to start modifying that version so we don't have to merge your new changes from an older version.

Revealed during the proceedings:
Include / functions.php to bring line 205 to this form:
le="color: #000000"><?php $ Xml_url-> appendChild ($ xml-> createComment (htmlentities (ucwords ($ mod ['name'])). ""));

Fixes the problem of creating an xml file if there is a category name -
-----
If you use the xml_google.php file in the root of the site, you should add at the beginning:
le="color: #000000"><?php If (! Defined ('SITEMAP_ROOT_CONTROLLER_LOADED'))) { If (! File_exists (dirname (__ FILE __). '/ Modules / xsitemap / xml_google.php')) { Die ("Do not call this file directly"); } If (! Empty ($ _SERVER ['REQUEST_URI']))) { $ _SERVER ['REQUEST_URI'] = str_replace ('xml_google.php', 'modules / xsitemap / xml_google.php', $ _SERVER ['REQUEST_URI']); } Else { $ _SERVER ['REQUEST_URI'] = '/modules/xsitemap/xml_google.php'; } $ _SERVER ['PHP_SELF'] = $ _SERVER ['REQUEST_URI']; Define ('SITEMAP_ROOT_CONTROLLER_LOADED', 1); $ Real_xml_google_path = dirname (__ FILE __). '/ Modules / xsitemap / xml_google.php'; Chdir ('./modules/xsitemap/'); Require $ real_xml_google_path; Exit; } Else { Require_once __DIR__. '../../mainfile.php'; }

Who's Online

166 user(s) are online (122 user(s) are browsing Support Forums)


Members: 0


Guests: 166


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits