473,405 Members | 2,310 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

How to find the full search url of pons.de

In order to instant retrieve a word definition, I let a javascript add
the word to the search url of various sites. Example: for the word
"word" I create:
- http://en.wikipedia.org/wiki/Word
- http://www.google.it/search?q=define%3Aword
- http://www.answers.com/word
and so on.

There is a good German online dictionary, www.pons.de/, for which I
couldn't find a way to discover the search url.
All I could find was http://www.ponsline.de/cgi-bin/wb/w.pl which is
the general search form.
But what is the real search url? Is there a way to find it, in order to
let my javascript create a query?

Thank you
Luigi

Aug 26 '06 #1
5 1541
Hi,

ki***@kirpi.it wrote:
In order to instant retrieve a word definition, I let a javascript add
the word to the search url of various sites. Example: for the word
"word" I create:
- http://en.wikipedia.org/wiki/Word
- http://www.google.it/search?q=define%3Aword
- http://www.answers.com/word
and so on.

There is a good German online dictionary, www.pons.de/, for which I
couldn't find a way to discover the search url.
All I could find was http://www.ponsline.de/cgi-bin/wb/w.pl which is
the general search form.
But what is the real search url? Is there a way to find it, in order to
let my javascript create a query?

Thank you
Luigi
view-source reveals that the Pons page uses POST to submit the form
elements. There is no "search URL" (GET) in the way you want.

How are you handling the results? If you just display the result page as
it comes back from the Pons server, then you can create your own HTML
form and submit it to http://www.ponsline.de/cgi-bin/wb/w.pl. The names
of the fields must be the same as the ones in the original search page.
Even then, it won't necessary work, depending on what the Pons server
allows or disallows.

If you want to process the answer, since cross-domain security prevents
you to use XmlHttpRequest, you'll have to use server-side logic.

HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Aug 27 '06 #2
How are you handling the results?

Actually, I'm using an extended version of the JS Quicktags
[http://www.alexking.org/software/jav...gs/index.html]
approach. The user just selects a word s/he is typing within the
textarea, and press the button.
It helps quite al lot, when your're writing (expecially in a foreign
language, just as I'm doing right now :-)
It opens a new window with the results, nothing special.

If you just display the result page as it comes back from the Pons server,
then you can create your own HTML form and submit it to
http://www.ponsline.de/cgi-bin/wb/w.pl.
The names of the fields must be the same as the ones in the original search page.
Even then, it won't necessary work, depending on what the Pons server
allows or disallows.
I don't really understand, sorry. I'm not that technically skilled.
You mean that I could just replicate Pons' html form and put it behind
my button, so that the query is triggered.
Just that?

Luigi

Aug 27 '06 #3
Hi,

ki***@kirpi.it wrote:
>>How are you handling the results?


Actually, I'm using an extended version of the JS Quicktags
[http://www.alexking.org/software/jav...gs/index.html]
approach. The user just selects a word s/he is typing within the
textarea, and press the button.
It helps quite al lot, when your're writing (expecially in a foreign
language, just as I'm doing right now :-)
Don't we all ;-)
It opens a new window with the results, nothing special.
OK. So if you use the Pons form, you could do something like

<form action="http://www.ponsline.de/cgi-bin/wb/w.pl"
target="_blank">

This will open the server's reply in a new window. You can also use the
name of an already opened window if you have one.
I don't really understand, sorry. I'm not that technically skilled.
You mean that I could just replicate Pons' html form and put it behind
my button, so that the query is triggered.
Just that?

Luigi
That's exactly that. But it is not guaranteed to succeed. Also, if Pons
decides to change the form's content or format, your application will be
broken until you replicate the changes.

HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Aug 27 '06 #4
<form action="http://www.ponsline.de/cgi-bin/wb/w.pl"
target="_blank">
So, I'll try, tonight.
And let you know.

Thank you, Laurent.

Luigi

Aug 27 '06 #5
And let you know.

I couldn't succeed.
So, most probably, pons.de has lost a customer.
Which is, many customers, for I'll stop advertise their name.
They like hidden things, so, let them alone.

I'll go for leo.org/, where queries are not hidden.
http://dict.leo.org/?search=horse is quite a plain url, and works
automatically for both english and German, while there are also French
and Spanish available.

Luigi

Aug 28 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Peter Hansen | last post by:
Greetings. Im trying to write a program that can be run from the command line. If I want to search for example after a file with the ending .pdf, I should be able to write in the command line:...
0
by: SoftComplete Development | last post by:
AlphaTIX is a powerful, fast, scalable and easy to use Full Text Indexing and Retrieval library that will completely satisfy your application's indexing and retrieval needs. AlphaTIX indexing...
11
by: JoshuaF | last post by:
hello everyone i am very new to postgresql 7.3.3 and am using it on my mac G4 OS X and i am having some trouble which i hope you can help me out with some answers to my questions: 1.) How can I...
2
by: Gellert, Andre | last post by:
Hello, we upgraded our PostgreSQL from 7.2 to 7.4, because we want to use the enhanced full-text searches, which should be build in now. I can't find any informations how to implement an...
3
by: Bob C. | last post by:
When I migrated my tables to SQL Server I needed a way to overcome the slow performance of the Find method on my recordsets. Although this can be done by accessing the table directly using dao and...
2
by: clintonG | last post by:
I only ask this here because it so happens that Windows Search requires filters to enable it to be used to find text in file types such as .aspx, ..cs and so on and is supposed to support doing so...
5
by: YaoBao | last post by:
Is any ColdFusion script I can put on my webpage that will create a search bar so people can type keywords to match it on the current page in my website? It will be exactly like the finder search bar...
8
by: Sham | last post by:
I am trying to perform the following query on a table that has been indexed using Full Text Search. The table contains multiple columns than have been indexed. (Below, all xml columns are...
6
by: chrispoliquin | last post by:
I am using regular expressions to search a string (always full sentences, maybe more than one sentence) for common abbreviations and remove the periods. I need to break the string into different...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.