I’ve been trying to write down my first XML plug-in for a couple of hours.
It is a very very useful feature, but… I’m experiencing an odd behaviour.
This is my plug-in:
<?xml version=“1.0” encoding=“UTF-8”?>
<!DOCTYPE plist PUBLIC “-//Apple Computer//DTD PLIST 1.0//EN” “http://www.apple.com/DTDs/ PropertyList-1.0.dtd”>
<plist version=“1.0”>
<dict>
<key>Name</key>
<string>Governo Italiano</string>
<key>Info</key>
<string>Governo Italiano Plugin 1.0 ?2004 UNCEM Servizi</string> <key>Description</key>
<string>Interroga l’archivio delle notizie del Governo italiano.</string>
<key>Version</key>
<string>0.1</string>
<key>Identifier</key>
<string>com.uncem-servizi.governoitaliano.plugin</string>
<key>EngineUrl</key>
<string>http://www.governo.it/Cerca/first4question.asp?Question=agentQuery</string>
</dict>
</plist>
It should use the search engine of Italian Government’s website.
I’ve been trying to search with the following keyword: “UNCEM”, but it returns nothing erroneously.
This is odd because:
- if I verify the log entry " governo.it/Cerca/results.asp?Page=1 ", which is the result page, looking at the rendering I can see "nessun documento trovato" (i.e. "no documents found") as result.
- But, then again:
– the log’s first entry " governo.it/Cerca/first4quest … tion=UNCEM " shows my url composed correctly and in fact if I “launch” it, Safari shows me correctly a “http://www.governo.it/Cerca/results.asp?Page=1” page with a lot of documents found. ???
I’m very new to this game so I’m sure that I’m missing something important, but I can’t guess what. And this dual behavior is quite confusing.
Any help would be appreciated. :)
(BTW: this is my first message, I hope it will be posted correctly)