Author Topic: Can the search feature be extended to be called from an external application?  (Read 2648 times)

Offline keanne

  • User
  • *
  • Posts: 7
    • View Profile
Hi List,

Good morning.
I am currently testing knowledgeroot and I am liking it so far, thanks for this great application!
My question is, can knowledgeroot extend it's 'search' result for external application?
Currently, I have a PHP based in-house trouble ticketing / work-order system, and I would like knowledgeroot
to store the solutions, methods, used.
I would like to 'search' from the work-order system and the result will be from knoweldgeroot's database content,
can this be done?


thanks in advance,
Keanne

Offline admin

  • Administrator
  • User
  • *****
  • Posts: 553
    • View Profile
    • http://www.lordlamer.de
Hi,

i think it is not possible out of the box as you need it.
But we could create a small interface extension for this.

So, have you any whishes? XML or JSON interface? Or an own class that you can use?
I think we could create an easy small extension for this :)

Frank

Offline keanne

  • User
  • *
  • Posts: 7
    • View Profile
"So, have you any whishes? XML or JSON interface? Or an own class that you can use?"

Thanks so much for the reply,
I am only familiar with PHP so a class i think is very much preferred :-).



thanks so much!
Keanne

Offline admin

  • Administrator
  • User
  • *****
  • Posts: 553
    • View Profile
    • http://www.lordlamer.de
Hi,

do you need search result as special user or admin or is guest ok?

Frank

Offline keanne

  • User
  • *
  • Posts: 7
    • View Profile
Hi Frank,

Thanks for the reply,
Guest is just fine and will meet the requirement, but if it can be done with a special user, that's awesome too!


thanks so much,
keanne

Offline admin

  • Administrator
  • User
  • *****
  • Posts: 553
    • View Profile
    • http://www.lordlamer.de
Hi,

i take some deeper look to the source.
I think it is easy to create a own class and also with special user and group.

I will give you feedback if i created the class.

Frank

Offline keanne

  • User
  • *
  • Posts: 7
    • View Profile
Ok, Im looking forward into it :-).

thanks so much

Offline admin

  • Administrator
  • User
  • *****
  • Posts: 553
    • View Profile
    • http://www.lordlamer.de
Yesterday is started the first implementation for this.

One question:
Your ticket system and Knowledgeroot are running on the same system or not?

Frank

Offline keanne

  • User
  • *
  • Posts: 7
    • View Profile
Hi,

good morning.
thanks so much for the reply.
No, it is not running on the same system. it is of different servers.



thanks,
Keanne

Offline keanne

  • User
  • *
  • Posts: 7
    • View Profile
But if it requires same system, it's ok.. I will just transfer the ticket system to the knowledgebase server :)
I'll test this as soon as i can.  Thanks for the great support!

Offline admin

  • Administrator
  • User
  • *****
  • Posts: 553
    • View Profile
    • http://www.lordlamer.de
Hi,

have you tested the stuff i send you?
Is this working?

Frank

Offline keanne

  • User
  • *
  • Posts: 7
    • View Profile
Hi Frank,

Good morning.
Sorry for the very late reply, I just came back from a 5 day post wedding vacation.
I just tested the class, thanks!
I got it working, the search.php just needs to be located in knowledgeroot directory though,
because of the result's path. but it returns the array of the searched string, so thank you very much!


regards,
Keanne

Offline admin

  • Administrator
  • User
  • *****
  • Posts: 553
    • View Profile
    • http://www.lordlamer.de
Hi,

thanks for the feedback!

regards,
Frank