Is it possible to tweak the code here to browse by file author? Say, something like... <query>searchText=source%3Aauthorname</query>
<query>searchText=source%3Aauthorname</query>
<!-- Popular Tags --> <item> <name resourceKey="">Projects</name> <query></query> <item> <name>Project1</name> <query>searchText=keywords%3Aproject1</query> </item> </item>
You can pretty much do any search in the Browse tree. (the tree is essentially a set of searches)The tree structure is defined in a configuration file (browse-catalog.xml in ..\geoportal\WEB-INF\classes\gpt\search\browse). Try this example which adds a 'Popular Tags' folder to the browse tree: Insert the following right before </tree> in browse-catalog.xml:
<!-- Popular Tags --> <item> <name resourceKey="">Popular Tags</name> <query></query> <item> <name>service</name> <query>searchText=keywords%3Aservice</query> </item> <item> <name>livedata</name> <query>searchText=keywords%3Alivedata</query> </item> <item> <name>geographic boundaries</name> <query>searchText=keywords%3Ageographic+boundaries</query> </item> <item> <name>natural resources data</name> <query>searchText=keywords%3Anatural+resources+data</query> </item> <item> <name>land use data</name> <query>searchText=keywords%3Aland+use+data</query> </item> </item>
Have you checked out this link? http://sourceforge.net/apps/mediawiki/geoportal/index.php?title=Browse_Tree
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.