Search function

Bjarne Varöystrand shared this idea 1 year ago
In Progress

A search function in the public side of Koken would enhance the whole Koken experiance.

Comments (68)

photo
5

I'd love to see this function! Really!

photo
4

We just need simple small search icon that opens minimalistic modal or search box and search layout just like galleries.


Also additional wish: you can mark for each photo, is it searchable, including "not listed". I upload maybe 20 pics from series, 1 is visible in portfolio feed, but when i search, i get them all.

photo
5

I would like to

ask about search function for frontend as well. It is present in the backend and

is great (categories search, tag search, name search) yet it isn't

available for frontend and it's a pity. Thank you I really appreciate what you are doing with Koken.

photo
3

Some news on this topic, we have successfully integrated a searchfunction powered by Google, in to our OxyGen theme! :D


Demo can be seen over at http://varoystrand.se and http://bay3r.de/ Both running the latest snapshot of OxyGen

photo
4

I'd like to see this as well! As Tomas said, it's already in backend and it's great. Please, integrate it into frontend too! Thank you

photo
2

Koken is fantastic. Missing only the search function for users. I therefore agree with the above requests.

photo
2

Want this! Really! Agree with guys here!

photo
1

it`s the only thing i am currently missing.

photo
2

Let the search contain a combination of


[x] all types of metadata


[x] grouped by


[x] sorted by


and let (after presenting the result screen) the following reward to the user be


[x] download full size/thumbnails + metadata in XMP

or


[x] download text

or

[x] download essays


--


I would particularly welcome a combining search with


Set / Album / Category / Tags


through dropdown + checkbox (+fast all/not all)

photo
1

I too would absolutely love this. I've spent countless hours keywording my photos in Lightroom using standard IPTC metadata tags. Sadly, none of those are searchable - not even really on the backend.

photo
2

For the beginning it would be enough to add search capabilities for keywords/tags. Later on it would be a cool feature to search for everything, e.g. like EXIF data.

photo
1

Please add this feature - why there are keywords, categories and titles when none of them are searchable?

photo
2

Hi Koken-Team,

let me know if and how we can support this request. Would love to get this done.

Thanks very much!

Roland

photo
1

Proper search function is the only thing we need to run CC0 free stock photo site on Koken. Come on Koken, please! It's already searchable in the backend.

photo
1

Koken Premium Themes now include front-end tag search! Update to version .22.15 and update the themes.

photo
photo
1

Indeed. If a search function is ever implemented, I do hope that it willing encompass Controlled Vocabulary keywords. I've worked pretty hard standardizing on keywords that photo buyers actually look for (and that all the big agencies use too) For reference:


http://www.controlledvocabulary.com

photo
3

Me, too! What about a paid plugin? I'd buy it.

photo
1

I am very surprised this is not an option already. Please implement and include tag support.


Thanks

photo
1

Could it be withheld to protect the marketshare of other programs? I would find that very vexing.

photo
1

Perhaps, I could not believe it was missing at first. How can you even possibly consider having this be a store with no search function? People are supposed to spend hours browsing for something. You know what I mean?

photo
photo
1

I would like to be able to use the EXIF or IPTC data keywords to be able to return an array of images, such as a query to "www.myServer.com/koken/?images="category:portraits", or something like that, and it would return either all the images, or an array of the URLs of the images that match that (it could be truncated or partial URLs, or simply the image names or paths).


I specifically want to use my pictures in a native iOS/Android app, so I only need "raw" search and result return.

photo
1

I couldn't agree more. But for me, it's not for the direct sale of photos, but rather so that photo editors & art directors can pick out a selection of photos that have been drilled-down by keyword tags. I use an IPTC compliant controlled vocabulary that buyers are already familiar with.

photo
photo
1

In progress? Thanks!

photo
1

That's awesome. Thanks Guys!

photo
1

Koken Premium Themes now include front-end tag search! Update to version .22.15 and update the themes.

photo
photo
2

This is great! But: is there any possibility to combine tags in the search, e.g. portrait AND women? Thanks!

photo
3

Matching multiple tags with concepts such as "and, or, not & like" should be the next enhancement of the search feature. After that we'll look at additional search fields, other than just tags. Search will be iteratively enhanced, so we're leaving this topic "in progress" for now. Then comments will be promoted to their own topic threads for voting.

photo
photo
1

Will the 'kokin:search' functions be available for us to code into our own custom themes at some point?

photo
2

The koken:search tag is available for use in custom themes. Note: in addition to the tag itself a tag.lens template needs to be created.

http://help.koken.me/customer/portal/articles/828690-lens-tags#kokensearch

photo
1

Thanks Mike... Now included in my active theme's header template and seems to be working pretty well. https://lumiworx.com

photo
1

Works perfectly well, I've added it for now via a separate page - very easy.

Thanks very much Koken Team!!

photo
1

Sorry - it does not work for Apple IOS Devices.

photo
1

Roland... Not that it helps with IOS, but your page does work for me in Firefox and Chrome on both Android 4.2.2 (tablet) and 5.1 (phone).

photo
1

Good to know, thx very much Randy

@Koken Team: Any chance to get this working? Have checked settings, Java is enabled and Iphone 6s runs IOS 10.2.1. Will check later on ipad, but would say there will be no difference.

photo
1

It works from iOS. See regale.koken.me search tag Landscape.

photo
1

iOS doesn't support the HTML5 datalist element yet. Koken might try to shim that functionality in a future release.


http://caniuse.com/#feat=datalist

photo
1

More details: it works in IOS as long as search input is available as single expression in tag list. Give it a try and test on my page and search for "Nikon" (no results) and with "Nikon D4" and you will get a list with results. In MacOS Safari and FireFox it works.

photo
1

Hi

Is there a way to the drop-down menu roll?

My site with far too many tags the menu outsizes the screen height.

photo
1

I assume you're viewing the site with Chrome or Opera or something else based on WebKit. It doesn't offer any CSS styling for the 'datalist' element as a select box. I doubt they will have any support for it until the next official CSS rules sets are announced.

FireFox does allow some limited support, and you can add some styling into your theme's "settings.css.lens" file to include a few constraints.


  1. #k-search-tags {
  2. -moz-appearance: menulist-button;
  3. background-color: #ffffff;
  4. line-height: 1;
  5. max-height: 300px;
  6. overflow: auto !important;
  7. }

The 'overflow' property forces it to add a scroll bar when needed, if it becomes taller than the max height of 300 pixels. The 'menulist-button' means it treats the box like a standard drop-down, with a downward arrow inside the box. The 'line-height' forces standard vertical spacing between the listed items, and the color option sets the background to be pure white.

I don't know how Safari on IOS devices or Mac handles it, but at least IE 11 makes it a shorter scrolling box about 1/2 the height of the browser window.

Keep in mind that once you type a letter in the box it will shrink to show only whatever terms match what's typed... it's not only a regular dropdown select box.

photo
photo
1

Does the search function looks only for photo tags? Is it possible to search for file/picture names? Couldn't see that in the examples in the last Newsletter.

Any plans to make the the search function as a paid plug-in for free themes? That would be great and I would definetly buy it.

photo
1

You could easily put the filename into the .xmp, together with the other keywords ;)

photo
1

Thanks for the tip but I'm a noob, where do I find the XML file in the koken folder? ;-)

photo
1

Wouldn't you upload it together with he picture file itself?

photo
1

An image's XMP file is referred to as a 'sidecar' file, since it contains additional descriptive metadata for a photo or graphic (like IPTC or EXIF, but with extended info) that is not embedded into the actual image file itself. It isn't meant to be edited directly, but by any application that would handle the non-destructive editing of the master image file.


It originated from Adobe, but can be written/read to/by many types of software, including PhotoShop, Lightroom, and others. Details: http://www.adobe.com/products/xmp.html


The files are simple XML files and can be edited with some text editors, but for anyone wanting access to metadata, I'd suggest using tools that are purpose-built instead. These are all very good - and free, too...


ExifTool - a multi platform, batch and command line tool: http://www.sno.phy.queensu.ca/~phil/exiftool/

ExifToolGUI - a Windows frontend for ExifTool: http://u88.n24.queensu.ca/~bogdan/

XNview - File viewer/editor: http://xnview.com

photo
photo
1

Hello Koken

Thx for making this possible at all - but why did you try to sell your Premium Themes (wich are not useful for me at least) via a well known and must have feature? Would be much nicer to pay for a plugin instead paing mony for a Theme at least.

Thx again

Roland

photo
1

Completely agree...

photo
1

Well, I do not mind that a basic free version exists, and also a better pro version.


How one is packaging it is of no importance.

photo
2

We'll be adding search to the free themes in time. We'll often release new features in premium themes first and then roll them out to free themes later. If you want to customize your existing theme you can actually add search yourself today. http://help.koken.me/customer/portal/articles/828690-lens-tags#kokenselect

photo
photo
1

So, if I want to add tag search, I need to buy a $60 theme and they all include this functionality, including for iphone users? Please advise ASAP...

photo
1

Correct.

photo
1

Too bad. I bought a commercial theme, but for my purposes one of the free themes is better. No chance to get search functionality in there?

photo
1

We'll be adding search to the free themes in time. We'll often release new features in premium themes first and then roll them out to free themes later. If you want to customize your existing theme you can actually add search yourself today. http://help.koken.me/customer/portal/articles/828690-lens-tags#kokenselect

photo
3

If you are capable of doing some simple modifications to your theme's code, you can implement the search functionality yourself - or - pay a coder to insert some minimal coding for you. As long as you're using a viable/working Koken theme, you can modify it fairly easily. The above link should point to the <koken:search> tag here: http://help.koken.me/customer/portal/articles/828690-lens-tags#kokensearch


I've done this on my on site, that uses a copy of a heavily modified 'Elementary' free theme: https://lumiworx.com

photo
1

What about boolean search?

Is there any example around?

photo
1

A search function is for every site and theme a high priority. So I don't get it this is not done in the free themes.

I have looked to the solution, but I ám not a coder at all.

photo
2

There is no Conding needed...see https://ein68er.de/pages/search/

All you need to do is:

  • Publish a Page in Tab "Text" and Sub "Pages" - call it whatever you like, turn on Code View and Copy and Paste "Edit HTML" section
  • <koken:search>

    </koken:search>

  • Update Site
  • Add created Page in Tab "Site" to Primary or Footer section of your Site


Thats all - very easy

photo
1

Great thanks, its working smooth

photo
1

Thanks Randy and Roland! Works great for tags in free theme Elementary (see https://fotografeer.nl/index.php?/pages/zoek/ and type "idris"). But I have been mostly adding categories for images and albums. You can add a drop-down box with a list of categories that will trigger a search on the selected category.

Select a category:

<koken:categories>

<koken:select label="Select a category" ></koken:select>

</koken:categories>

photo
1

Thanks @Roland Giehl - these steps worked in snap! But.... it's not search it's just a list of Tags, which I already have in a much better way with the free Elementary Theme. Is there a way for actual "search" in addition to tags - searching titles, descriptions etc.

photo
1

Grafis... The search function - as it is now - will only work with existing tags. As it was noted earlier by Mike @Koken, there are plans to expand the function to do searches on other things.


Until it's updated, anyone can generate search links to essays with what's already available within Koken. Unfortunately it won't work with standard pages, but at least you can get some limited search access to your written content.


Just add one or more tags just like you would for albums or individual images. Essentially you're creating your own keyword list, as tags, to summarize the text content. There's no coding involved... just use the 'Tag' section in the right-hand "Inspector" panel when editing essays to add/assign some customized search tags.


I actually prefer to search for essays with summarizing tags I choose instead of having code parsing through every single word with a standard search function. The down side is an increasingly long list of tags that you can't trim or delete if you want to manage them, but that only becomes an issue if you have lots of essays and/or expose your entire tag list to be displayed via a menu item. (In my case, I do both.)

photo
2

Would anyone find it helpful if I wrote up a simple primer of what code to add within an existing free theme or your own custom theme?

photo
1

That would be great. So far I have experimented a bit myself with pull down boxes that trigger a search. This is what I have sofar (on https://fotografeer.nl/index.php?/pages/zoek/ ).

Experimental search<br>

<br>

Find tags:

<koken:search>

</koken:search>

<br>

Choose a category:

<koken:categories>

<koken:select label="Choose category"></koken:select>

</koken:categories>

<br>

Choose a tag:

<koken:tags>

<koken:select label="Choose tag"></koken:select>

</koken:tags>

<br>

Select essays by month and year:

<koken:dates limit_to="essays">

<koken:select label="Choose month/year"></koken:select>

</koken:dates>

<br>

Choose an essay:

<koken:essays>

<koken:select label="Choose essay"></koken:select>

</koken:essays>

<br>

Choose album:

<koken:albums>

<koken:select label="Choose album"></koken:select>

</koken:albums>

<br>

photo
1

Okay... If anyone would like a copy, you can grab it here:

https://lumiworx.com/storage/resources/koken-adding-searchbox.pdf


@ Peter... I've only referenced using the actual koken:search function in themes, since the select boxes provide something unrelated to what a search box would. They only react to a list of predefined terms, and although they might be useful as an alternative way of finding existing and selectable content, they don't perform the same as a 'boolean finder' for unknown content.


I do like the idea of having them appear as part of a separate search page like Roland mentioned.


@ Roland... If you don't mind, I included your search page snippets in the primer too - with credits, of course.

photo
1

Very nicely written up, Randy. Thanks!


--Rich

photo
1

Yes Thanks for the Pdf it helps to make a working search!

photo
1

#peter van Loon, bij mij werkt de choose category code niet. Ik krijg de normale tekst wel, maar de zoek/select box niet. Op zich geen punt, maar wou het even laten weten.

photo
1

#Harry Stok, maybe it is not working because you don't have any categories defined? Or maybe you are using an older version? I'm using Koken 0.22.20. It does work for me. The code above is used on https://fotografeer.nl/index.php?/pages/zoek/ , where you can test it yourself. Can you show the code that you are using on your pages?

photo
1

# Peter van Loon Thanks, I had found out that this was the problem :)

Its working now very smooth.

Thanks for responding.

photo