Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 05-09-2011, 09:25 AM   #1 (permalink)
Registered Member
 
Join Date: May 2011
Posts: 12
billybatigol is on a distinguished road
Default Fetch html source code, edit it and load it with webview

Hi, am new to the iphone development and I have a problem to display a certain site that is essential for my app.
What I want to do is to display this site with no horizontal scrolling and with a text size that can be read without zooming in or out.
As far as I understand this is impossible without mess with the html source code.
But I have no idea how to fetch it, and most importantly how to modify it and with which tools I can do that.
And then how I can load that code in my web view.
I know that I ask to much but I want to learn how to do this stuff and I don't search for someone to give me a ready solution but to point me in the right direction.
billybatigol is offline   Reply With Quote
Old 05-09-2011, 09:43 AM   #2 (permalink)
Reading the Documentation
 
baja_yu's Avatar
 
Join Date: Sep 2010
Location: 45.255019,19.844908
Posts: 5,414
baja_yu has a spectacular aura about
Default

This really seems like a bad approach. Why not just modify the webpage, or better yet create a mobile-friendly version of the website. There are plenty of tutorials on how to do that, like this one: 10+ useful code snippets to develop iPhone friendly websites | CatsWhoCode.com
baja_yu is offline   Reply With Quote
Old 05-09-2011, 10:43 AM   #3 (permalink)
Registered Member
 
Join Date: May 2011
Posts: 12
billybatigol is on a distinguished road
Default

Quote:
Originally Posted by baja_yu View Post
This really seems like a bad approach. Why not just modify the webpage, or better yet create a mobile-friendly version of the website. There are plenty of tutorials on how to do that, like this one: 10+ useful code snippets to develop iPhone friendly websites | CatsWhoCode.com
I just read this link. But the site that I want to modify its appearance isn't mine. I can't modify it the way the article suggests right? I just want to make it iphone friendly inside my app. Are there other ways to do this?
billybatigol is offline   Reply With Quote
Old 05-09-2011, 10:58 AM   #4 (permalink)
Reading the Documentation
 
baja_yu's Avatar
 
Join Date: Sep 2010
Location: 45.255019,19.844908
Posts: 5,414
baja_yu has a spectacular aura about
Default

I'm not sure really. You'd probably need to download the entire page first, save it locally, make changes then show it in a webview from the local file. But then it becomes more of a problem when you need to follow links from that page, or if it's dynamically generated (PHP/ASP) etc etc.
baja_yu is offline   Reply With Quote
Reply

Bookmarks

Tags
edit, fetch, html, load, uiwebview

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 349
9 members and 340 guests
dansparrow, iOS.Lover, lorrettaui53, MikaelBartlett, oztemel, pbart, PlutoPrime, thephotographer, Trickphotostudios
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,663
Threads: 94,120
Posts: 402,898
Top Poster: BrianSlick (7,990)
Welcome to our newest member, LezB44
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 01:57 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0