Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2012-08-17 11:17:28

ptsguy
Member
Registered: 2012-08-06
Posts: 135

[FIXED] sitemap-albums

missing </urlset> is error I get from google

Offline

#2 2012-08-17 12:59:15

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: [FIXED] sitemap-albums

Hmm...the code is there:

                    ob_start();
                    echo '<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="'.BASE_URL.'/data/sitemap.xsl"?>',"\n";
                    echo '<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
                     http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">',"\n";
                    foreach ($albums as $album) {
                        echo '  <url>',"\n";
                        echo '      <loc>'.BASE_URL.'/photo/'.$album['album_id'].'/'.e($album['slug']).'/</loc>',"\n";
                        echo '      <lastmod>'.$current_date.'</lastmod>',"\n";
                        echo '      <changefreq>weekly</changefreq>',"\n";
                        echo '      <priority>0.3</priority>',"\n";
                        echo '  </url>',"\n";
                    }
                    echo '</urlset>',"\n";
                    $content    = ob_get_contents();
                    ob_end_clean();

Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#3 2012-08-17 13:50:58

ptsguy
Member
Registered: 2012-08-06
Posts: 135

Re: [FIXED] sitemap-albums

Below is a terrtible pasting of the code, but I believe it may be because of albums being an empty set and, no photos cause no albums, and then no forums...

Errors


Missing XML tag


This required tag is missing. Please add it and resubmit.


4



Sitemap: /sitemaps/sitemap-albums-1.xml

Parent tag: urlset

Tag: url


3


Aug 16, 2012





Sitemap: /sitemaps/sitemap-photos-1.xml

Parent tag: urlset

Tag: url


3


Aug 16, 2012





Sitemap: /sitemaps/sitemap-forum-1.xml

Parent tag: urlset

Tag: url


3


Aug 16, 2012

Offline

#4 2012-08-17 16:04:51

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: [FIXED] sitemap-albums

Do you have any albums?


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#5 2012-08-17 17:28:56

ptsguy
Member
Registered: 2012-08-06
Posts: 135

Re: [FIXED] sitemap-albums

nope, not yet...

Offline

#6 2012-08-17 22:36:32

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: [FIXED] sitemap-albums

Thats the problem then. Its a bug. Fixing and tomorrow 1.0.1 release.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#7 2012-08-18 09:58:59

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: [FIXED] sitemap-albums

Fixed in 1.0.1


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

Board footer

Powered by FluxBB