It was a week with understanding how the Themes will be loading from the physical location and creating the weblog internal context.I wanted to add a metadata in Theme.xml to identify that a theme is mobile ready or not.
After discussions in the mailing list we are going have <type></type> in the Theme.xml file.So in mobile version of a theme it will be <type>mobile</type>.This is an interesting suggestion from the community since we will be able to define themes for different type of devices in future. So by defining the correct Template designer can make them available for selective rendering based on the device.
We need to have a default value for <type> tag and following are the candidates proposed.
1.desktop - (we have ipads and laptops so misleading.)
2.default (not self explaining the type )
3.html (There are overlapping with mobile theme as well.)
While i was brainstorming for a good candidate i got ,"standard". You can find on going discussion on the above matter in the mailing list. [0]
[0]http://mail-archives.apache.org/mod_mbox/roller-dev/201105.mbox/%3CBANLkTinR+2S4Ppf9rmcTi2Ou+FM1o7myBg@mail.gmail.com%3E
After discussions in the mailing list we are going have <type></type> in the Theme.xml file.So in mobile version of a theme it will be <type>mobile</type>.This is an interesting suggestion from the community since we will be able to define themes for different type of devices in future. So by defining the correct Template designer can make them available for selective rendering based on the device.
We need to have a default value for <type> tag and following are the candidates proposed.
1.desktop - (we have ipads and laptops so misleading.)
2.default (not self explaining the type )
3.html (There are overlapping with mobile theme as well.)
While i was brainstorming for a good candidate i got ,"standard". You can find on going discussion on the above matter in the mailing list. [0]
[0]http://mail-archives.apache.org/mod_mbox/roller-dev/201105.mbox/%3CBANLkTinR+2S4Ppf9rmcTi2Ou+FM1o7myBg@mail.gmail.com%3E
No comments:
Post a Comment