Coder Social home page Coder Social logo

Comments (12)

hgouraud avatar hgouraud commented on September 22, 2024

this could be handled at the template level:
%if;bvar.no_robot;<meta name="robots" content="none">%end;

from geneweb.

rpo avatar rpo commented on September 22, 2024

There is the template 'note.txt' module that apply to individuals notes within an individual page (notes for death, birth, burial etc.) .

But where is the template for the NOTES that are written indpendently of the individus ?

from geneweb.

hgouraud avatar hgouraud commented on September 22, 2024

m=NOTES does not use a template (unfortunately).
The note is displayed with some .ml code.
The <meta ...> command comes from hutil.ml line 43
I will see if a test on bvar.no_robot can be added

from geneweb.

rpo avatar rpo commented on September 22, 2024

Thanks ... Is it the same for the individual page ?

Ex:

Geneanet : https://gw.geneanet.org/rpoulin2010?lang=fr&n=garneau&oc=0&p=georges has <meta name="robots" content="index,follow" />

Geneweb : https://genepoulin.net/gene/geneweb7.cgi?b=poulin&p=georges&n=garneau has <meta name="robots" content="none">

I understand the possible problems with the robots in the base but if we could have an option to make it index: follow for the individuals page like Geneanet do it it will very welcome, so our pages could be searched ,

from geneweb.

hgouraud avatar hgouraud commented on September 22, 2024

PR #1728 should handle robot indexing.
I changes the bvar name to "robot_index=yes" and "robot_index_forum=yes"

from geneweb.

rpo avatar rpo commented on September 22, 2024

Will this applyed to already written Notes in the database - i guess no ?

Will this applyed also to pages for individus, since all pages for individus published now are given index=none ?

from geneweb.

hgouraud avatar hgouraud commented on September 22, 2024

this applies to pages dynamically created.
if you want the notes to be indexed, you have to create a static document pointing to all the notes, in a fashion similar to what was done for individuals.
you could also include in the static document for individuals a set of direct pointers to the files in notes_d folder.

from geneweb.

rpo avatar rpo commented on September 22, 2024

this applies to pages dynamically created. if you want the notes to be indexed, you have to create a static document pointing to all the notes, in a fashion similar to what was done for individuals. you could also include in the static document for individuals a set of direct pointers to the files in notes_d folder.

For those pages already written (NOTES), Goggle refuse to index them since there are already tagged with index=none. No way to change that.

And about my other question, the individual dynamically produced pages (ex; georges garneau), they also get that index=none tag, so they are not indexed. Will PR #1728 manage that?

from geneweb.

hgouraud avatar hgouraud commented on September 22, 2024

For those pages already written (NOTES), Goggle refuse to index them since there are already tagged with index=none. No way to change that.

The files in notes_d are not tagged.
Displaying a note (m=NOTES) generates dynamically a page which will not be tagged with PR #1728

And about my other question, the individual dynamically produced pages (ex; georges garneau), they also get that index=none tag, so they are not indexed. Will PR #1728 manage that?

yes

from geneweb.

rpo avatar rpo commented on September 22, 2024

Thanks.... appreciated - for when ?

from geneweb.

a2line avatar a2line commented on September 22, 2024

Thanks.... appreciated - for when ?

8 hours ago! ; )

from geneweb.

rpo avatar rpo commented on September 22, 2024

Thanks.... appreciated - for when ?

8 hours ago! ; )

THanks :-] - i need to wait for a compilation. Great addition!

from geneweb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.