1
Monika
Sitemap new pages
  • 2009/5/7 4:46

  • Monika

  • Not too shy to talk

  • Posts: 103

  • Since: 2008/12/19


Hi,
I have added some new html pages to my site, and the sitemap module doesn't detect them, please is there any way to add them to my sitemap before i submit it to google?

Thanks in advance

2
Monika
Re: Sitemap new pages
  • 2009/5/7 20:30

  • Monika

  • Not too shy to talk

  • Posts: 103

  • Since: 2008/12/19


Anyone?

3
DarinAllan
Re: Sitemap new pages

You could use the dummy module, rename it to I don't know, say "special" and place your pages in it's folder, still, the only link that will show up in Sitemap will be "Special" it won't have sub links as such. It will show up in your main menu etc. it acts just like a module as such.

If you look at the "Bookshop" link in this sitemap you will see it's actually just a html page with Amazon Books widgets and code.

Note: I haven't used it with multiple html pages, I have only needed the one index page within dummy, though I don't see why you couldn't add a few html pages that all link to each other from the dummy index page.

That's the only thing I can think of ;o)

4
Monika
Re: Sitemap new pages
  • 2009/5/8 1:56

  • Monika

  • Not too shy to talk

  • Posts: 103

  • Since: 2008/12/19


Hi thanks for the reply, the links to my html pages are in a custom block which is visible in Dummy.

So, I want these links to appear in sitemap, because now only the link to Dummy module is detected by sitemap.

Any other ideas please?

5
Catzwolf
Re: Sitemap new pages
  • 2009/5/8 3:57

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


You need to create a site-map plugin for each dummy module

6
Monika
Re: Sitemap new pages
  • 2009/5/8 4:41

  • Monika

  • Not too shy to talk

  • Posts: 103

  • Since: 2008/12/19


Quote:

Catzwolf wrote:
You need to create a site-map plugin for each dummy module


Hi Catz
is it something difficult to do? Any tutorial on how to create plugins for sitemap please?


7
Catzwolf
Re: Sitemap new pages
  • 2009/5/8 4:55

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


Lady,

You know what I am going to say to you right?

Email me and I will sort it out for you :)

Catz

8
DarinAllan
Re: Sitemap new pages

Don't be afraid to let us know how you do it Catz lol ;o)

9
chefry
Re: Sitemap new pages
  • 2010/6/3 12:45

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


yes. I need to know too ))

10
ghia
Re: Sitemap new pages
  • 2010/6/3 14:18

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Check out the other examples of plugins for the other modules eg Pages.
You need to create a /plugins/modulename.php which has a function b_sitemap_modulename and returns an array with the id, url and title of the item. Copy also the permission check of the module so you add only items that are permitted to view in the sitemap.
For most modules these items are eg the categories retrieved from the database, but for the Ghost modules you can probably replace that by some fixed data.

Login

Who's Online

159 user(s) are online (108 user(s) are browsing Support Forums)


Members: 0


Guests: 159


more...

Donat-O-Meter

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

Latest GitHub Commits