Version 6 (modified by d0nut, 5 years ago)

--

OpenSocial

OpenSocial ist eine von Google spezifizierte, offene Schnittstelle für Soziale Netzwerke. Für eine einzige Person ist es ein großes Vorhaben die komplette API zu implementieren. Auch wenn ich ein paar Schritte unternommen habe, ist das Zeit, die ich mir voraussichtlich doch nicht nehmen werde.

Stattdessen werde ich auf eine stabile Implementierung des Shindig Gadget-Server in PHP warten.

Wer das etwas beschleunigen will, der kann die XML Spezifikation in SQL Tabellen umsetzen.

  • XML Spezifikation siehe hier: http://code.google.com/apis/gadgets/docs/reference.html#XML_Ref
  • Beispiel für die SQL Tabelle ModulePrefs
    CREATE TABLE `ModulePrefs` (
    `title` VARCHAR( 255 ) NOT NULL ,
    `directory_title` VARCHAR( 80 ) NOT NULL ,
    `title_url` VARCHAR( 255 ) NOT NULL ,
    `description` TEXT NOT NULL ,
    `author` VARCHAR( 80 ) NOT NULL ,
    `author_email` VARCHAR( 80 ) NOT NULL ,
    `author_affiliation` VARCHAR( 80 ) NOT NULL ,
    `author_location` VARCHAR( 80 ) NOT NULL ,
    `screenshot` VARCHAR( 255 ) NOT NULL ,
    `thumbnail` VARCHAR( 255 ) NOT NULL ,
    `height` INT UNSIGNED NOT NULL ,
    `width` INT UNSIGNED NOT NULL ,
    `scaling` BOOL NOT NULL ,
    `scrolling` BOOL NOT NULL ,
    `singleton` BOOL NOT NULL ,
    `author_photo` VARCHAR( 255 ) NOT NULL ,
    `author_aboutme` VARCHAR( 255 ) NOT NULL ,
    `author_link` VARCHAR( 255 ) NOT NULL ,
    `author_quote` VARCHAR( 255 ) NOT NULL
    ) ENGINE = MYISAM