de
Deutsch Deutsch English English
Du bist nicht angemeldet. Melde Dich jetzt an.
 
Passwort vergessen |  Registrierungsmail erneut senden |  Neues Benutzerkonto

    Twick.it-Blog

    find_topic

    Markus Möller

    URL:

    http://twick.it/interfaces/api/find_topic.xml

    http://twick.it/interfaces/api/find_topic.json

    Funktion:

    Liefert alle Themen, in denen ein Suchbegriff vorkommt. Durchsucht wird nur der Titel, nicht die Twicks!

    Parameter:

    Optional/Pflicht Werte Default Bedeutung
    search Pflicht Zeichenkette Suchbegriff, der im Titel des Themas vorkommen soll.
    limit optional Ganzzahlen > 0 1 Die Anzahl der Twicks, die zurückgegeben werden sollen.
    lng optional "de", "en" Sprache des Browsers Sprache, in der gesucht werden soll.

    Rückgabe (XML):

    http://twick.it/interfaces/api/find_topic.xml?search=Homer

    <?xml version="1.0" encoding="utf-8"?>
    <result>
      <query>type=xml&search=Homer</query>
      <topics>
        <topic>
          <id>307</id>
          <title>Homer</title>
          <url>http://twick.it/de/Homer</url>
          <tags>
            <tag count="2">dichter</tag>
            <tag count="1">odyssee</tag>
            <tag count="1">ilias</tag>
            <tag count="1">erster</tag>
            <tag count="1">autor</tag>
            <tag count="1">abendlandes</tag>
          </tags>
          <geo>
            <latitude></latitude>
            <longitude></longitude>
          </geo>
        </topic>
        <topic>
          <id>295</id>
          <title>Homer Simpson</title>
          <url>http://twick.it/de/Homer-Simpson</url>
          <tags>
            <tag count="2">simpsons</tag>
            <tag count="2">us</tag>
            <tag count="1">dicker</tag>
            <tag count="1">serie</tag>
            <tag count="1">zeichentrick</tag>
            <tag count="1">figur</tag>
            <tag count="1">rüpel</tag>
            <tag count="1">isst</tag>
            <tag count="1">gerne</tag>
            <tag count="1">lustige</tag>
          </tags>
          <geo>
            <latitude></latitude>
            <longitude></longitude>
          </geo>
        </topic>
      </topics>
    </result>

    Rückgabe (JSON):

    http://twick.it/interfaces/api/find_topic.json?search=Homer

    {
      "query" : "type=json&search=Homer",
      "topics" : [
        {
          "id" : "307",
          "title" : "Homer",
          "url" : "http://twick.it/de/Homer",
          "tags" : [
            {
              "tag" : "dichter",
              "count" : "2"
            },
            {
              "tag" : "odyssee",
              "count" : "1"
            },
            {
              "tag" : "ilias",
              "count" : "1"
            },
            {
              "tag" : "erster",
              "count" : "1"
            },
            {
              "tag" : "autor",
              "count" : "1"
            },
            {
              "tag" : "abendlandes",
              "count" : "1"
            }
          ],
          "geo" : {
              "latitude" :  "",
              "longitude"  : ""
          },
        },
        {
          "id" : "295",
          "title" : "Homer Simpson",
          "url" : "http://twick.it/de/Homer-Simpson",
          "tags" : [
            {
              "tag" : "simpsons",
              "count" : "2"
            },
            {
              "tag" : "us",
              "count" : "2"
            },
            {
              "tag" : "dicker",
              "count" : "1"
            },
            {
              "tag" : "serie",
              "count" : "1"
            },
            {
              "tag" : "zeichentrick",
              "count" : "1"
            },
            {
              "tag" : "figur",
              "count" : "1"
            },
            {
              "tag" : "rüpel",
              "count" : "1"
            },
            {
              "tag" : "isst",
              "count" : "1"
            },
            {
              "tag" : "gerne",
              "count" : "1"
            },
            {
              "tag" : "lustige",
              "count" : "1"
            }
          ],
          "geo" : {
              "latitude" :  "",
              "longitude"  : ""
          },
        }
      ]
    }


    Erstellt am 11.11.2009 | Comments (0)

    Keine Kommentare


    Hinterlasse einen Kommentar

     
     
    Kommentar senden
     

    Categories:

    • 5 Fragen an...
    • Aktionswochen
    • Allgemeines
    • Ideen
    • Offizielles
    • So geht's
    • Tipps4Twicks

    Seiten:

    • FAQ
    • Konzept
    • Charta
    • AGB
    • Teilnahmebedingungen für den Siegener Erklärwettbewerb
    • Beitragsübersicht
    • Presse
    • Pressespiegel
    • Fotos
    • Neue Web 2.0-Enzyklopädie online
    • Erklärmaschine beendet erfolgreiche Beta-Phase
    • Twickit auf der CeBIT 2010
    • Twick.it holt Weltmeister-Titel mit Augmented Reality App
    • Für Entwickler / API
    • REST-API
    • explain
    • favorites
    • find_topic_by_tag
    • find_topic
    • find_topics_nearby
    • find_twick
    • find_user
    • latest_twicks
    • random_twick
    • random_topic
    • search_twick
    • stats
    • PHP
    • Twitter
    • Impressum

    Search:


    Suchen

    Kommentare:

    • Sean Kollak: Hallo Rosy, freue mich dass du dich nicht nur für Reimix, sondern auch…
    • Rosy: Hallo Sean, Eure Ideen finde ich große Klasse und werde sie natürlich…
    • Cinny1109: Ja ich möchte gewinnen und ich verdiene es auch!!!! :P Fan der Facebook…
    • geewing: Das mit dem Weltmeister ist mir Wurscht. Ich will die Android-Waffel!

    Tag-Cloud

    Augmented Reality Community Enzyklopädie Erklärwettbewerb Feedback Geokodierung Gewinnspiel Handy NRW-Tag Nutzer Presse Relevanz Semantik Siegen Tipps4Twicks Tool Tip Web 2.0 Web 3.0 Wikipedia Zeitung

    WP-Cumulus by Roy Tanck and Luke Morton requires Flash Player 9 or better.

    2D

    Augmented Reality Community Enzyklopädie Erklärwettbewerb Feedback Geokodierung Gewinnspiel Handy NRW-Tag Nutzer Presse Relevanz Semantik Siegen Tipps4Twicks Tool Tip Web 2.0 Web 3.0 Wikipedia Zeitung
    3D

    RSS

    • Blog-Beiträge
    • Kommentare

    Alle Angaben ohne Gewähr. Creative Commons License

    > FAQ > Charta

    > API Dokumentation > Tipps4Twicks

    > Twitter > Support

    > AGB > Impressum

    > Presse > Mobile Webseite