change meta robots to option list
change meta robots to option list
Hi,
why not change meta robots into an option list, as there are only three sensible entries:
no entrie = preset from config.php
or
index,follow
or
noindex,nofollow
or are there other possible and sensible entries?
why not change meta robots into an option list, as there are only three sensible entries:
no entrie = preset from config.php
or
index,follow
or
noindex,nofollow
or are there other possible and sensible entries?
Re: change meta robots to option list
Basically, I like the idea. However, "meta robots" is not yet standardized for HTML5, but at least it had made it to the list of registered extensions according to WHATWG. It seems there'll be more options than (no)index and (no)follow. If we won't stick with a text input, we would have to make a "multi select" element available (either <select multiple> or an array of <input type="checkbox">).svasti wrote:why not change meta robots into an option list
Ignoring HTML5 for now, what about "index, nofollow" (i.e. index this page, but ignore links [regarding PR]) and "noindex, follow" (i.e. don't index this page, but "follow" contained links). Especially the latter might be very unusual, however, it might be appropriate sometimes.svasti wrote:or are there other possible and sensible entries?
Christoph M. Becker – Plugins for CMSimple_XH
Re: change meta robots to option list
What about an option list:
Or checkboxes:
Without entry in pagedata, checkbox "Standart" will be checked and further entries will be greyed out.
Once this is unchecked, there could be 2 sets of 2 radiobuttoms, "o index, o noindex, o follow, o nofollow", with noindex and nofollow preset.
Once more extensions are recognized, we'll add them.
- standard
- noindex,nofollow
- noindex,follow
- index,nofollow,
- index,follow
Or checkboxes:
Without entry in pagedata, checkbox "Standart" will be checked and further entries will be greyed out.
Once this is unchecked, there could be 2 sets of 2 radiobuttoms, "o index, o noindex, o follow, o nofollow", with noindex and nofollow preset.
Once more extensions are recognized, we'll add them.
Re: change meta robots to option list
Or perhaps a checkbox for each option: index, follow.
Anyway, I've put it on the 1.6.3 roadmap--it might be debatable whether we move it to the 1.6.2 roadmap.
Anyway, I've put it on the 1.6.3 roadmap--it might be debatable whether we move it to the 1.6.2 roadmap.
Christoph M. Becker – Plugins for CMSimple_XH
Re: change meta robots to option list
Hallo,svasti wrote:or are there other possible and sensible entries?
von mir oft benutzt: noarchive, noimageindex, noodp
Und noch ein paar weitere.
Viele checkboxes erforderlich
Re: change meta robots to option list
Ui, dann lassen wir es mal besser so wie es ist !
Re: change meta robots to option list
ACK.svasti wrote:Ui, dann lassen wir es mal besser so wie es ist !
There could be an external plugin, however, that uses meta_tags' page data and offers an advanced editor for those. Furthermore this plugin could have additional functionality regarding SEO.
Christoph M. Becker – Plugins for CMSimple_XH
Re: change meta robots to option list
Regardless on how important this definition may be - IMHO there would be always two values to choose (yes/no). Then using of radionbox seems to me to be the most suitable.
If it could be put into one small separated file and included within onload(), then - if new possibilities would appear in the future - only this file would be necessary to upgrade.
In this term thing may look e.g.:
[ external image ]
If it could be put into one small separated file and included within onload(), then - if new possibilities would appear in the future - only this file would be necessary to upgrade.
In this term thing may look e.g.:
[ external image ]
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
Re: change meta robots to option list
Interesting! To avoid reading another file, the options might be given as a config option (e.g. comma separated list).Tata wrote:If it could be put into one small separated file and included within onload(), then - if new possibilities would appear in the future - only this file would be necessary to upgrade.
I agree that yes/no options suffice, but I'd like checkboxes more.Tata wrote:IMHO there would be always two values to choose (yes/no). Then using of radionbox seems to me to be the most suitable.
Christoph M. Becker – Plugins for CMSimple_XH
Re: change meta robots to option list
But then you need to make sure that "yes/no" are not checked at the same time. The radios exlude this risk without any other codings. But yes, it can be achieved with checkboxes too, that after one of two is checked, the other goes greyed immediately.cmb wrote:I agree that yes/no options suffice, but I'd like checkboxes more.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.