Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] Yet Another Sitemap (YASM)
#11
... and it can appear like this [see image]
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
<url>
<loc>http://localhost/mybb/m1822/</loc>
<lastmod>2020-04-15T08:52:41Z</lastmod>
<changefreq>daily</changefreq>
<priority>1.0</priority>
</url>
<url>
<loc>http://localhost/mybb/m1822/portal.php</loc>
<lastmod>2020-04-15T08:52:41Z</lastmod>
<changefreq>daily</changefreq>
<priority>1.0</priority>
</url>
Reply
#12
(2020-04-15, 06:48 AM)Crazycat Wrote: Sitemap is an xml file which describe all your pages and their refresh frequenc, to optimise crawlers navigation.
No screenshot can be done. https://en.wikipedia.org/wiki/Sitemaps

(2020-04-15, 07:01 AM).m. Wrote: ... and it can appear like this [see image]
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
<url>
<loc>http://localhost/mybb/m1822/</loc>
<lastmod>2020-04-15T08:52:41Z</lastmod>
<changefreq>daily</changefreq>
<priority>1.0</priority>
</url>
<url>
<loc>http://localhost/mybb/m1822/portal.php</loc>
<lastmod>2020-04-15T08:52:41Z</lastmod>
<changefreq>daily</changefreq>
<priority>1.0</priority>
</url>

thanks for the answers Big Grin
Reply
#13
Hi,

I'll try to write better install instructions and try to post some screenshots and explain better what does this plugin in next version this week.  Smile
I don't answer questions about localhost forums or forums without URL, I'm not a seer.  Cool
Reply
#14
Hi,

plugin updated to version 1.2
I don't answer questions about localhost forums or forums without URL, I'm not a seer.  Cool
Reply
#15
Hello, I have installed YASM, but sometimes I'm getting an error on the home site of the forum.

Please, look at the discussion here: Error 1064 on startup

Any idea?
Reply
#16
Hi,

plugin updated to version 1.3, hope it fixes the Error 1064 on startup.
I don't answer questions about localhost forums or forums without URL, I'm not a seer.  Cool
Reply
#17
Hello again.

I created new forum and want to add Yet Another Sitemap Plugin.
When I activate it, I get this error:
Warning [2] fwrite() expects parameter 1 to be resource, bool given - Line: 377 - File: inc/plugins/yetanothersitemap.php PHP 7.4.7 (Linux)

[PHP] errorHandler->error
/inc/plugins/yetanothersitemap.php 377 fwrite
/inc/tasks/yetanothersitemap_update.php 21 yetanothersitemap_do
/inc/functions_task.php 90 task_yetanothersitemap_update
/inc/plugins/yetanothersitemap.php 430 run_task
/inc/class_plugins.php 142 task_yetanothersitemap_index
/index.php 437 pluginSystem->run_hooks


Any idea?
Reply
#18
Hi,

it was tested until 7.3.x, not with 7.4.x, and:

Quote:7.4.0 The function now returns FALSE instead of zero on failure.

I'll fix it ASAP.
I don't answer questions about localhost forums or forums without URL, I'm not a seer.  Cool
Reply
#19
I have installed. Don't see any errors but cannot find any generated file like sitemap.xml I searched for it in the root of the domain where MyBB is installed. Should I look into another folder? The plugin does not report having generated any file.
Reply
#20
I did a quick check of the plugin code and it is hard to understand which is the supposed URL to access the sitemap.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)