Xmap plugin ?

christophe46

New Member
Hello !

Is there an xmap plugin in order to put fabrik content in the sitemap ?
I would like to have in my sitemap links like :

http://www.mysite.com/mymenu/details/2/1
http://www.mysite.com/mymenu/details/2/2
...
http://www.mysite.com/mymenu/details/2/18

in order to have search engines indexing the content of tables.

It is an open question since 3 or 4 years from my reading of the forum. Does someone made it already or is it still to be done ?
If yes, I have time next week and I could code this plugin but I'm surprise that a such common need do not yet exists.
 
Sorry. That is what I meant. I did not notices it was such an old plugin.
I had thought several time of creating such a plugin, but haven't found the time yet, so if you can do it, go ahead.
 
I started to do the job but I have still a few troubles (and some points are hardcoded !). See the topic on xmap forum :)

http://www.jooxmap.com/forum/general/259-howto-create-an-xmap-extension.html

When xmap pass on a page with fabrik content, the plugin starts, that's good ;-) But the result is not yet correct but there is an output which was not the case at the beginning !

The "TODOS" could be to get the id and name of the table related to the fabrik content (for the moment I hardcoded it in my basic plugin in com_fabrik.php).

And I do not know how to say xmap not to add "/component/xmap" at the end of all details URL.

Any idea to improve the plugin are welcomed ;-)
 

Attachments

  • plg_com_fabrik.zip
    7.5 KB · Views: 176
One of my question would be in order to improve the plugin to know how to get the list id and the formular id for the details to be parsed.

In my case the menu point containing the fabrik list points to list id = 3, then the link to details points to formular id = 2

How can I get the list id and formular id in the xmap plugin ?
 
list id is a Url param &listid=7 in the link to the list
form id in the link to details &formid=10

I think the table name has to be fetched from #_fabrik_lists via the list id.
 
Yup, but in this case, I'm in an xmap plugin, I have not a fabrik url, but the sitemap url only.

I have to check how the plugin is called to see what is available when xmap parses the menu point and decide to call the fabrik plugin.
In the menu point I have only listid : index.php?option=com_fabrik&view=list&listid=3
From there, and in xmap, I have to get the formular id for this list.
Is there a fabrik object/method I can use in the xmap plugin or do I need to do queries myself to get the formular id related to a listid and the table concerned ?
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top