Re: Can we make api.kde.org search better?
El Divendres, 8 de novembre de 2013, a les 09:47:47, Allen Winter va escriure: On Saturday, November 02, 2013 12:15:15 AM Albert Astals Cid wrote: Hi, yesterday i was talking with someone about the desktop file class we have in KDE, he tried to find its api by going to api.kde.org and typing desktop in the Search bar. If you do that http://api.kde.org/index.php?miss=1class=desktop all you get is No results found! Do you guys know if we can make the search better? Try now. Michael and I made some improvements. Much better now :-) Now if the KF5 made http://api.kde.org/frameworks/kdelibs-apidocs/ work that'd be awesome :D Cheers, Albert
Re: Can we make api.kde.org search better?
On Fri, Nov 8, 2013 at 3:47 PM, Allen Winter win...@kde.org wrote: Do you guys know if we can make the search better? Try now. Michael and I made some improvements. Much much better, thank you!! Cheers -- Martin Klapetek | KDE Developer
Re: Can we make api.kde.org search better?
On Sat, Nov 9, 2013 at 12:42 PM, Martin Klapetek martin.klape...@gmail.com wrote: On Fri, Nov 8, 2013 at 3:47 PM, Allen Winter win...@kde.org wrote: Do you guys know if we can make the search better? Try now. Michael and I made some improvements. Much much better, thank you!! It looks like it finds more indeed! Awesome job! Can it be tweaked even further to also find for example kio::stat? It doesn't find that and i'm sure it exists :) Cheers, Mark
Re: Can we make api.kde.org search better?
On Saturday, November 09, 2013 01:27:12 PM Mark Gaiser wrote: On Sat, Nov 9, 2013 at 12:42 PM, Martin Klapetek martin.klape...@gmail.com wrote: On Fri, Nov 8, 2013 at 3:47 PM, Allen Winter win...@kde.org wrote: Do you guys know if we can make the search better? Try now. Michael and I made some improvements. Much much better, thank you!! It looks like it finds more indeed! Awesome job! Can it be tweaked even further to also find for example kio::stat? It doesn't find that and i'm sure it exists :) kio::stat is a function, not a class currently the api.kde.org Search only looks for classes (and namespaces, I think) but yes, we certainly should add the ability to search for functions too. this is all very old stuff and I haven't looked at in depth for a long time. I didn't write it either.
Re: Can we make api.kde.org search better?
El Dissabte, 9 de novembre de 2013, a les 16:14:16, Allen Winter va escriure: On Saturday, November 09, 2013 01:27:12 PM Mark Gaiser wrote: On Sat, Nov 9, 2013 at 12:42 PM, Martin Klapetek martin.klape...@gmail.com wrote: On Fri, Nov 8, 2013 at 3:47 PM, Allen Winter win...@kde.org wrote: Do you guys know if we can make the search better? Try now. Michael and I made some improvements. Much much better, thank you!! It looks like it finds more indeed! Awesome job! Can it be tweaked even further to also find for example kio::stat? It doesn't find that and i'm sure it exists :) kio::stat is a function, not a class currently the api.kde.org Search only looks for classes (and namespaces, I think) but yes, we certainly should add the ability to search for functions too. this is all very old stuff and I haven't looked at in depth for a long time. I didn't write it either. Noone's blaming you ;-) Having the thing look into function names (and maybe categorizing the results in classes/functions) makes sense to me, if we can get it, better :-) Cheers, Albert
Re: Can we make api.kde.org search better?
On Saturday, November 02, 2013 12:15:15 AM Albert Astals Cid wrote: Hi, yesterday i was talking with someone about the desktop file class we have in KDE, he tried to find its api by going to api.kde.org and typing desktop in the Search bar. If you do that http://api.kde.org/index.php?miss=1class=desktop all you get is No results found! Do you guys know if we can make the search better? Try now. Michael and I made some improvements.
Re: Can we make api.kde.org search better?
On Nov 5, 2013 6:44 PM, Albert Astals Cid aa...@kde.org wrote: Well Michael Reeves volunteered, no? Allen are you sending him the data? Cheers, Albert Aleix I got the data.
Re: Can we make api.kde.org search better?
On Wednesday, November 06, 2013 12:43:58 AM Albert Astals Cid wrote: El Dimarts, 5 de novembre de 2013, a les 15:17:05, Aleix Pol va escriure: On Sat, Nov 2, 2013 at 5:59 PM, Allen Winter win...@kde.org wrote: On Saturday, November 02, 2013 12:15:15 AM Albert Astals Cid wrote: Hi, yesterday i was talking with someone about the desktop file class we have in KDE, he tried to find its api by going to api.kde.org and typing desktop in the Search bar. If you do that http://api.kde.org/index.php?miss=1class=desktop all you get is No results found! Do you guys know if we can make the search better? A PHP person could fix the attached program so that we can search for .*foo.* (where foo is the user-specified search string) instead of simply foo. that's one idea. currently foo must exactly match what's in the map files. I can provide an example map file if someone takes this on. -Allen Could we maybe make a GCI task out of it? Well Michael Reeves volunteered, no? Allen are you sending him the data? Already done. I sent Michael the data a couple day ago, on Monday.
Re: Can we make api.kde.org search better?
On Sat, Nov 2, 2013 at 5:59 PM, Allen Winter win...@kde.org wrote: On Saturday, November 02, 2013 12:15:15 AM Albert Astals Cid wrote: Hi, yesterday i was talking with someone about the desktop file class we have in KDE, he tried to find its api by going to api.kde.org and typing desktop in the Search bar. If you do that http://api.kde.org/index.php?miss=1class=desktop all you get is No results found! Do you guys know if we can make the search better? A PHP person could fix the attached program so that we can search for .*foo.* (where foo is the user-specified search string) instead of simply foo. that's one idea. currently foo must exactly match what's in the map files. I can provide an example map file if someone takes this on. -Allen Could we maybe make a GCI task out of it? Aleix
Re: Can we make api.kde.org search better?
El Dimarts, 5 de novembre de 2013, a les 15:17:05, Aleix Pol va escriure: On Sat, Nov 2, 2013 at 5:59 PM, Allen Winter win...@kde.org wrote: On Saturday, November 02, 2013 12:15:15 AM Albert Astals Cid wrote: Hi, yesterday i was talking with someone about the desktop file class we have in KDE, he tried to find its api by going to api.kde.org and typing desktop in the Search bar. If you do that http://api.kde.org/index.php?miss=1class=desktop all you get is No results found! Do you guys know if we can make the search better? A PHP person could fix the attached program so that we can search for .*foo.* (where foo is the user-specified search string) instead of simply foo. that's one idea. currently foo must exactly match what's in the map files. I can provide an example map file if someone takes this on. -Allen Could we maybe make a GCI task out of it? Well Michael Reeves volunteered, no? Allen are you sending him the data? Cheers, Albert Aleix
Re: Can we make api.kde.org search better?
On Nov 2, 2013 3:35 PM, Albert Astals Cid aa...@kde.org wrote: El Dissabte, 2 de novembre de 2013, a les 12:59:00, Allen Winter va escriure: On Saturday, November 02, 2013 12:15:15 AM Albert Astals Cid wrote: A PHP person could fix the attached program so that we can search for .*foo.* (where foo is the user-specified search string) instead of simply foo. that's one idea. currently foo must exactly match what's in the map files. I can provide an example map file if someone takes this on. Please do so, we'll find someone to take care about it, i am sure we have some php hacker that cares about KDE and wants to contribute :) Cheers, Albert -Allen I'd like to have look at this the search function is useless as it is now.
Re: Can we make api.kde.org search better?
On Saturday, November 02, 2013 08:35:13 PM Albert Astals Cid wrote: El Dissabte, 2 de novembre de 2013, a les 12:59:00, Allen Winter va escriure: On Saturday, November 02, 2013 12:15:15 AM Albert Astals Cid wrote: Hi, yesterday i was talking with someone about the desktop file class we have in KDE, he tried to find its api by going to api.kde.org and typing desktop in the Search bar. If you do that http://api.kde.org/index.php?miss=1class=desktop all you get is No results found! Do you guys know if we can make the search better? A PHP person could fix the attached program so that we can search for .*foo.* (where foo is the user-specified search string) instead of simply foo. that's one idea. currently foo must exactly match what's in the map files. I can provide an example map file if someone takes this on. Please do so, we'll find someone to take care about it, i am sure we have some php hacker that cares about KDE and wants to contribute :) The map files are large. Volunteers to work on this should contact me directly and I'll work together with them and help test. -Allen
Re: Can we make api.kde.org search better?
On Saturday, November 02, 2013 12:15:15 AM Albert Astals Cid wrote: Hi, yesterday i was talking with someone about the desktop file class we have in KDE, he tried to find its api by going to api.kde.org and typing desktop in the Search bar. If you do that http://api.kde.org/index.php?miss=1class=desktop all you get is No results found! Do you guys know if we can make the search better? A PHP person could fix the attached program so that we can search for .*foo.* (where foo is the user-specified search string) instead of simply foo. that's one idea. currently foo must exactly match what's in the map files. I can provide an example map file if someone takes this on. -Allen attachment: mapsearcher.php
Re: Can we make api.kde.org search better?
El Dissabte, 2 de novembre de 2013, a les 12:59:00, Allen Winter va escriure: On Saturday, November 02, 2013 12:15:15 AM Albert Astals Cid wrote: Hi, yesterday i was talking with someone about the desktop file class we have in KDE, he tried to find its api by going to api.kde.org and typing desktop in the Search bar. If you do that http://api.kde.org/index.php?miss=1class=desktop all you get is No results found! Do you guys know if we can make the search better? A PHP person could fix the attached program so that we can search for .*foo.* (where foo is the user-specified search string) instead of simply foo. that's one idea. currently foo must exactly match what's in the map files. I can provide an example map file if someone takes this on. Please do so, we'll find someone to take care about it, i am sure we have some php hacker that cares about KDE and wants to contribute :) Cheers, Albert -Allen
Can we make api.kde.org search better?
Hi, yesterday i was talking with someone about the desktop file class we have in KDE, he tried to find its api by going to api.kde.org and typing desktop in the Search bar. If you do that http://api.kde.org/index.php?miss=1class=desktop all you get is No results found! Do you guys know if we can make the search better? Cheers, Albert