GithubHelp home page GithubHelp logo

dmolsen / mit-mobile-web Goto Github PK

View Code? Open in Web Editor NEW
57.0 57.0 19.0 11.85 MB

The Mobile Web Project was initially developed during the summer of 2009 and is a fork of the original v0.9 release of the MIT Mobile Web project that can still be found on SourceForge. The project was updated in May 2010. It is a product designed to make it easier for higher education institutions to deliver mobile-optimized information and services. It helps deliver task-based content like maps, events, and directory information optimized for device "families." Full documentation can be found at http://mobilewebosp.pbworks.com/ Updates to the project can be found on Twitter at http://twitter.com/mobilewebosp/

Home Page: http://mobilewebosp.pbworks.com

License: MIT License

PHP 97.84% JavaScript 2.16%

mit-mobile-web's People

Contributors

dmolsen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

mit-mobile-web's Issues

Deeplinks into webkit skin display as plain text

Accessing certain folder name style deeplinks e.g. /calendar/, /emergency/, /hours/, /links/, /map/, /news/, /people/ (and there may be others) in the webkit skin display as a plain text page with no header, footer, or other styling as expected.

This can be seen on WVU at http://m.wvu.edu/links/ by using a device/browser that triggers the webkit skin.

This is not how it is in the basic or touch skins where the header/footer/styling is as expected for that skin.

Add mobile=true per Google Maps API docs

In map/lib/map.lib.inc.php need to add &mobile=true to detailURL per google maps api documentation.

so it'll look like:

return "detail.php?loc=".$id."&lat=".$latitude."&long=".$longitude."&maptype=roadmap&mobile=true";

/people/templates/webkit/detail.html doesn't use phoneHREF for Call Them button

/people/templates/webkit/detail.html has two links for the phone number. In the first it's routing the data to phoneHREF (required if the source data needs padding to be a proper DDI number) e.g.

display('phone', 'telephone', "phoneHREF", 'phone', false); ?>

In the call them button however it doesn't:

  • Call Them
  • I've modified our local install of 2.0.0 to be:

  • Call Them
  • but I'm a bit rusty with my PHP. Is that the best solution?

    iOS 5 Javascript/AJAX internal links broken (webkit)

    I'm sure someone has noticed this because it seems to effect all universities running MWOSP version 2, including m.wvu.edu.

    For example, go to m.wvu.edu on an iOS5 device, then go to the maps section, all links on that page do not load on iOS5.

    Extra Variable in vCard

    Check out Line 111 ($subject = "vCard for ";) to see if it's really needed. May have left some crusty code in there.

    rss_services.php (bad assumption on the uniqueness of title field)

    The existing RSS library assumes that the title of each post is not the same.

    This actually happened to me, if you have 2 postings in the feed with the same title, only the later one will get picked up. The library now will only pick up the posting (latest in the for-loop). The patch below will ensure that all postings be picked up.

    It's a quick patch below.

    $ diff ./rss_services.php ./rss_services.php.dist 
    1c1
    <         $items[$title] = $headline;
    

    Hosted Google Accounts for Calendar

    Hosted Google Accounts don't authenticate to Google. Zend_Gdata_ClientLogin::getHttpClient is hard coded with '@gmail.com'. Working on a fix.

    ios5 display issue

    Hi there,

    I am using your fantastic code to generate some mobile web presence. When I upgrade my iphone to ios5, it changed iphone diplay. it displays smartphone look and feel not the iphone look. any suggestion would be much appreciated.

    thanks!

    MySQL - Connection String

    All of the database is written using PDO, however the MySQL connection is not established with PDO. By not having a PDO connection, the prepare method keeps throwing an error.

    In lib/db.php the connection for MySQL should be:

    $this->connection = new PDO("mysql:host=$this->host;dbname=$this->db", $this->username, $this->passwd);

    Droid X Black Screen

    Hi, for some reason it shows a total black screen in droid x. Happens with m.wvu.edu as well. Any idea ?

    Minor bug fix

    $ diff ./web/templates/touch/form.html{,.dist}
    5,6d4
    < ### Robin: Below is needed to resolve $theme variable
    <

    Opera Mobile

    It would be nice to support Opera Mobile. I found that a simple patch to to ./web/page_builder/Page.php will allow Opera Mobile to have a better touch support.

    $ diff ./web/page_builder/Page.php{,.dist}
    161,164d160
    < ### Robin's patch
    < else if (eregi('opera mobi',$user_agent)) {
    < $type = "opera";
    < }

    News Default Page May Have Logic Bug

    Make sure the default news page shows the link for more regarding the article no matter if the summary is short or long. Affects both SP and IP.

    Expansion of GA Tracking

    Based on what CC is doing:

    Regarding Google Analytics (not that I'm even close to tracking usage), I
    added a config variable to config.gen.inc.php:

    $ga_domain = ".inst.edu";

    And added this line right before _trackPageview is called:

    pageTracker._setDomainName("");

    This helps us generally track visitors across our various subdomains.

    Recommend Projects

    • React photo React

      A declarative, efficient, and flexible JavaScript library for building user interfaces.

    • Vue.js photo Vue.js

      ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

    • Typescript photo Typescript

      TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

    • TensorFlow photo TensorFlow

      An Open Source Machine Learning Framework for Everyone

    • Django photo Django

      The Web framework for perfectionists with deadlines.

    • D3 photo D3

      Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

    Recommend Topics

    • javascript

      JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

    • web

      Some thing interesting about web. New door for the world.

    • server

      A server is a program made to process requests and deliver data to clients.

    • Machine learning

      Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

    • Game

      Some thing interesting about game, make everyone happy.

    Recommend Org

    • Facebook photo Facebook

      We are working to build community through open source technology. NB: members must have two-factor auth.

    • Microsoft photo Microsoft

      Open source projects and samples from Microsoft.

    • Google photo Google

      Google โค๏ธ Open Source for everyone.

    • D3 photo D3

      Data-Driven Documents codes.