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/
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
<
32,34d31
<
< ## don't use title, hack
<
48,56c45
<
< ## A hack to ensure that duplicate titles will not cause problems
< ## Append number to ensure uniqueness
< $title_check = $title; $i=1;
< while ( isset ($items[$title_check]) ){
< $title_check.="$i"; $i++;
< }
< $items[$title_check] = $headline;
<
---
> $items[$title] = $headline;
bug should be fixed in the master branch. i'm still testing a few things there but i'll push it into the 2.0 branch soon. thanks much for finding that!
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.