g***@mnogosearch.org
2011-11-20 12:18:46 UTC
Author: Alexander Barkov
CheckOnly *.jpg *.png *.gif
Without this command indexer downloads the images
but then it does not know what to do with this
context, so it assigns status "415 Unsupported Media Type"
to them.
In this case you need to remove the above "CheckOnly" command,
so indexer will start downloading the images again.
Then you need to feed them to some external program
which will extract meta data from the image files
and print them in HTML format putting image meta data
in HTML meta tags.
indexer.conf commands:
Section meta.imagetag1 30 128
Section meta.imagetag2 30 128
Mime image/gif text/html "/path/to/gif2html $1"
Mime image/jpg text/html "/path/to/jpg2html $1"
Mime image/png text/html "/path/to/png2html $1"
Reply: <http://www.mnogosearch.org/board/message.php?id=21361>
Hello,
thanks for your help and sry for my late reply.
I addeded
Allow *.jpg *.png *.gif
to the config file and activated the section url.file by adding
Section url.file 20 128
to my config file (section id = 20, i also changed the max lenght from 0 to 128)
When I search for a filename I do not get any results. So I added a AlwaysFoundWord for debugging purposes. When i search for the "AlwaysFoundWord" i get all the results of my site - but no Loading Image..." URL. It seams that the Images do not get indexed.
When I start the indexer with the verbose level turned to 6, i get the following result. I am not sure, if i understand it right. But to me it seams like the URL(Image) gets found and accepted. But why does it not get indexed?
Sorry, I forgot this important command:thanks for your help and sry for my late reply.
I addeded
Allow *.jpg *.png *.gif
to the config file and activated the section url.file by adding
Section url.file 20 128
to my config file (section id = 20, i also changed the max lenght from 0 to 128)
When I search for a filename I do not get any results. So I added a AlwaysFoundWord for debugging purposes. When i search for the "AlwaysFoundWord" i get all the results of my site - but no Loading Image..." URL. It seams that the Images do not get indexed.
When I start the indexer with the verbose level turned to 6, i get the following result. I am not sure, if i understand it right. But to me it seams like the URL(Image) gets found and accepted. But why does it not get indexed?
CheckOnly *.jpg *.png *.gif
Without this command indexer downloads the images
but then it does not know what to do with this
context, so it assigns status "415 Unsupported Media Type"
to them.
indexer[14040]: [14040]{01} Link 'imgs/youtube_1_borderless.png' Loading Image...
indexer[14040]: [14040]{01} Server applied: site_id: -801454983 URL: http://mydomain.com/blog/
indexer[14040]: [14040]{01} Allow End InSensitive '.png'
Does anybody know, why it doesn't work?
Is there really no change to search for the picture by alt tag?
There is no such feature.indexer[14040]: [14040]{01} Server applied: site_id: -801454983 URL: http://mydomain.com/blog/
indexer[14040]: [14040]{01} Allow End InSensitive '.png'
Does anybody know, why it doesn't work?
Is there really no change to search for the picture by alt tag?
Or is it possible to let the picture run trough an programm that extracts meta data from it and search for these meta data?
Yes, this is possible.In this case you need to remove the above "CheckOnly" command,
so indexer will start downloading the images again.
Then you need to feed them to some external program
which will extract meta data from the image files
and print them in HTML format putting image meta data
in HTML meta tags.
indexer.conf commands:
Section meta.imagetag1 30 128
Section meta.imagetag2 30 128
Mime image/gif text/html "/path/to/gif2html $1"
Mime image/jpg text/html "/path/to/jpg2html $1"
Mime image/png text/html "/path/to/png2html $1"
Reply: <http://www.mnogosearch.org/board/message.php?id=21361>