Results 1 to 3 of 3

Thread: Search scripts; what editor do I need for these characters?

  1. #1
    Join Date
    Dec 2008
    Location
    Northwest Ohio
    Beans
    1,581
    Distro
    Lubuntu 13.10 Saucy Salamander

    Question Search scripts; what editor do I need for these characters?

    Hi,

    Below is a working (but still amateurish) html "mirror search" script I have copy pasted together as I still learn how to create them. I never could figure out how to put a "phrase" inside quotes until today. Up until now, I haven't been able to add phrases wrapped in quotes, because value=""example phrase"" simply doesn't work for me.

    Here's the script:
    Code:
    <center>
    <form method="GET" action="http://www.google.com/search?q=">
    <input name="q" size="40" maxlength="255" type="hidden" value="inurl:(mirror|ftp)">
    <input name="q" size="40" maxlength="255" type="hidden" value="+intitle:index.of">
    <input name="q" size="40" maxlength="255" type="hidden" value="+”last modified”">
    <input name="q" size="40" maxlength="255" type="hidden" value="+”parent directory”">
    <input name="q" size="40" maxlength="255" type="text" value="Mirror Search">
    <input name="q" size="40" maxlength="255" type="hidden" value="-htm -html -php -asp">
    <input name="q" size="40" maxlength="255" type="hidden" value="">
    <input name="" value="SEARCH" type="submit">
    </form>
    </center>
    What I would like to know is, what kind of editor do I need to make both " and characters. Do I need an html, or javascript, or maybe a php editer? Also, what is the other 'quotation mark' called?
    Thanks,
    James
    Last edited by ankspo71; January 3rd, 2010 at 11:18 PM. Reason: I messed up the font size....

  2. #2
    Join Date
    Dec 2008
    Location
    Northwest Ohio
    Beans
    1,581
    Distro
    Lubuntu 13.10 Saucy Salamander

    Re: Search scripts; what editor do I need for these characters?

    Hi Again,
    I just wanted to add that I would like to use the quotes in my searches because "tree cutting service" gets more accurate results than (tree cutting service).

    Although, when viewing the same page source in firefox the script appears as this:
    Code:
    value="+â€last modifiedâ€">
    value="+â€parent directoryâ€">
    So I am wondering if this will cause problems between browsers or search engines.

    I was unable to come up with anything in Synaptic, or by searching Google, or looking around in Gnome's Character Map.
    I'll give the character map another look. I did find this though:

    U+030B COMBINING DOUBLE ACUTE ACCENT

    General Character Properties

    In Unicode since: 1.1
    Unicode category: Mark, Non-Spacing

    Various Useful Representations

    UTF-8: 0xCC 0x8B
    UTF-16: 0x030B

    C octal escaped UTF-8: \314\213
    XML decimal entity: ̋

    Annotations and Cross References

    Notes:
    • Hungarian, Chuvash

    See also:
    • U+0022 QUOTATION MARK
    • U+02BA MODIFIER LETTER DOUBLE PRIME
    • U+02DD DOUBLE ACUTE ACCENT
    I don't see how an a̋ accent would work in a search script though. Oh well lol. Until I find something I can keep copying and pasting the characters for now.
    Thanks.
    Last edited by ankspo71; January 4th, 2010 at 01:07 AM.

  3. #3
    Join Date
    Dec 2008
    Location
    Northwest Ohio
    Beans
    1,581
    Distro
    Lubuntu 13.10 Saucy Salamander

    Re: Search scripts; what editor do I need for these characters?

    Hi Again,
    The problem is solved. I figured out I can use a space to create the ̋ character in the character map. It is located at Script > Inherited then (4 across, 2 down). This still leaves me copying and pasting the character though. I just added the character map to the panel with a custom entry. That should help me in the future.
    Thanks.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •