Chris Pollett > Students >
Mallya

    ( Print View)

    [Bio]

    [Blog]

    [CS 297 Proposal]

    [Deliverable 1]

    [Deliverable 2]

    [Deliverable 3]

    [Deliverable 4]

    [CS297 Report - PDF]

    [CS 298 Proposal]

    [CS 298 Slides - PDF]

    [CS 298 Final Report - PDF]

Deliverable 2

Generalising the Traditional Wiki Systems to New Media Page Formats

Purpose:

To add a URL shortener. The motive behind this deliverable is to give a user the ability to redirect from Yioop to webpages outside of Yioop.

Description:

When users go to create a wiki page the URL shortener is presented as an option in settings. In the URL text area, the user places the desired redirection webpage for e.g. yahoo.com, on clicking the "Save" button a shortned version of the link is created using the group id and the wiki pages title name example "NotMain" as shown in Sample Output below

Code Snippet for URL redirection:


 public function redirectLocation($location)
    {
        $this->web_site->header("Location:$location");
        $_FILES = []; // this is for when Yioop run as own web server
        L\webExit();
    }
 

Sample Output: