How to present the blog mobile?

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Bla
Regular
Posts: 25
Joined: Sat Feb 03, 2007 7:42 pm
Location: Germany
Contact:

Re: How to present the blog mobile?

Post by Bla »

[quote]So which version of the plugin are you using? What are your plugin settings exactly? What's your URL?[/quote]

serendipity_event_mobile_output V. 1.01 (last in plugin-list, same problems as first)

Plugin is active, 3 standard mobile templates, categories/teasers/pictures 0 all yes, no wurfl, redirect yes = mobile host, the rest is default, own debug-password

url in my profile

Regards, Bla.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: How to present the blog mobile?

Post by garvinhicking »

Hi!

When calling "http://blablog.de/serendipity.css.php?switch=xhtml_mp" your server goes to the default blog view instead of the CSS.

Do you know your apache settings and/or .htaccess rewrites why this happens, instead of showing the real serendipity.css.php file contents?!

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Bla
Regular
Posts: 25
Joined: Sat Feb 03, 2007 7:42 pm
Location: Germany
Contact:

Re: How to present the blog mobile?

Post by Bla »

my .htaccess:
There's a no-www-redirect and a redirect from an older subfolder-s9y-installation which both I disabled now for testing.
Now there's only the (which I believe) original s9y-htaccess. I can't find an original or pure s9y-htaccess to compare. Or is it possible to generate a clean one?

Hours later: Oh it seems to me that the .htaccess is always rewritten via the path and permalink configuration panes in s9y-backend. Right?

Nearly right. I switched from mode_rewrite to errorhandling and back. The .htaccess was rewritten and now it seems to work. Great hint, thanks a lot.

Regards, Bla.
Bla
Regular
Posts: 25
Joined: Sat Feb 03, 2007 7:42 pm
Location: Germany
Contact:

Re: How to present the blog mobile?

Post by Bla »

Now it seems to work but there's still a glitch: With iphone.app the selected articles do not show up in mobile browsers. Nice to see them disappear with desktop Safari and mobile Safari selected as user agent. xhtml_mp and android.app work well.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: How to present the blog mobile?

Post by garvinhicking »

Hi!

Hm, seems that this iui.js javascript is detecting the content to show through the URL, but does not properly interpret the target, and thus "hides everything" and cannot show the proper content.

Do you have changed your s9y permalinks somehow? Maybe the code has an issue with that...sadly I currently don't have a test setup to patch the iui.js file to insert some breaks easily, and I've never worked with the iphone.app template...

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply