dracoblue.net

Wiedergabeliste für Videos in Koala

Heute habe ich die erste Version der Video Wiedergabeliste in Koala fertiggestellt. Koala ist eine Suchmaschine auf Basis von Google und zur Zeit unter http://erstmal.com zu finden.

Nun hat man neben jedem Youtube-Video eine kleine Schaltfläche, welche es erlaubt das Video zur Wiedergabelist hinzuzufügen. Diese Wiedergabelsit kann alle Videos sortiert oder zufällig wiedergeben.

Da Koala "AJAX"-basiert ist, kannst Du in den Suchergebnissen weitersuchen und filtern ohne dass das die Wiedergabe des Videos unterbrochen wird.

In Koala by DracoBlue @ 2009-10-10 | 74 Words

Koala Search Engine updated with "Search more"

Today I added some new features to the search engine interface at http://erstmal.com (the current home of the koala search engine).

  • "Search More"-button
  • Autofocus on search-input field
  • Info if no result was found
  • "Did you mean?"-Spellchecking feature

Bug-Reports and Comments appriciated as usual ;).

In Koala by DracoBlue @ 2009-10-10 | 44 Words

Koala Suchmaschine nun mit "Weiter suchen"

Heute habe ich dem neuen Suchinterface ein paar neue Funktionen hinzugefügt. Unter http://erstmal.com ist die Koala-Suchmaschine zur Zeit zu hause.

  • "Weiter suchen"-Knopf
  • Automatischer Fokus auf das Eingabefeld
  • Hinweis, falls nichts gefunden wird.
  • "Meinten Sie?"-Funktion für Rechtschreibprüfung

Fehler+Wünsche und Kommentare sind wie immer erwünscht ;).

In Koala by DracoBlue @ 2009-10-10 | 44 Words

Cache-Control revalidate

If you want to revalidate the contents of some kind of image, without delivering the entire image, on each call: no-cache-Header won't be the right choice.

You may workaround this issue, by setting:

Cache-Control: max-age=3600, must-revalidate

In by DracoBlue @ 2009-09-30 | 36 Words

Simple php task to run commandline in phing

In phing there is a task called

exec. Even though it provides a "passthru"-property it's not really possible to directly get the response from the output.

Since I wanted to have direct output of all data, I created an adhock-task called "run". You can add it to your phing build file, by adding this tag right before the usage.

<adhoc-task name="run">
class RunTest extends Task {
        private $dir;
        private $command;
        
        function setCommand($command) {
                $this->command = $command;
        }
        
        function setDir($dir) {
                $this->dir = $dir;
        }
        
        function main() {
                $this->log("Changing to: " . $this->dir);
                chdir($this->dir);
                $this->log("Executing: " . $this->command);
                system($this->command);
        }
}
</adhoc-task>

Remember, that this task does not check wether the directory exists and always requires it to be set. If you want to extend the task for your needs and mind to share it, feel free to post a reply!

In Phing, php by DracoBlue @ 2009-09-22 | 141 Words

Page 23 - Page 24 - Page 25