|
I'm looking for someone to test the WAP 'new articles' page:
http://www.codeproject.com/info/wapnew.asp
It works fine in an emulator but I've no WAP unit to actually test it with. Comments or suggestions welcome.
cheers,
Chris Maunder
|
|
|
|
|
Chris, when I get back to SA (3rd Feb) I can check it out on my phone. (not bothered to get a UK sim card or enable international roaming (bloody expensive))
Just remind me.
I agree on the emulator thing though. Some WAP pages we did looked great on emulators but not on the actual phones. Even some emulators made by the phone manufacturer was not perfect. Also the perspective can change things (i.e. from a PC screen to a mobile screen is very different.)
regards,
Paul Watson
Bluegrass
Cape Town, South Africa
Do you Sonork? I do! 100.9903 Stormfront
"The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge
|
|
|
|
|
Thanks mate.
BTW - which emulator do you use? I'm using the Nokia but it's a POS. Incredibly clunky Java (when will companies learn Java is not for GUIs!) and no matter what I do it caches content so it requires a restart each time a page is changed.
cheers,
Chris Maunder
|
|
|
|
|
Well to be frank, and ernest (in New York. umm you have to watch the movie to get that joke. think it is A Long Kiss goodnight, not sure) I have not touched WAP since about 2 months after it came out, i.e. a long time.
From what I remember the emulator I used most was Wapalizer. But as with most it is not always 100% accurate. It is like asking the W3C to validate your HTML. They will say "looks great, good job" but when you view it on IE or Netscape it is a pile of rubbish.
regards,
Paul Watson
Bluegrass
Cape Town, South Africa
Do you Sonork? I do! 100.9903 Stormfront
"The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge
|
|
|
|
|
I got the opening page to show on my Siemens C35i, but trying to view any article resulted in "500 Internal server error" and "1001 invalid scheme in URL".
|
|
|
|
|
a 500 error? that's odd.
The page is merely a list of articles - you can't actually peruse them via WAP (imagine trying to view a 50Kb article on a 1"x1" screen at 9600 baud. Yikes!
I just wanted to see if things were working as expected. I'm more than happy to put any information you think worthwhile onto a WAP page.
cheers,
Chris Maunder
|
|
|
|
|
Chris Maunder wrote:
I'm more than happy to put any information you think worthwhile onto a WAP page.
Some things I would like to see, but they are not "must haves", just "if you have time".
New post in forum. Like the indicator on the forum page which shows you the # of old and new posts.
New articles in categories. Once again, just a number, or if you have more time then the first few words of each new articles title.
A simple indicator saying someone has replied to one of your posts.
Frankly there is not much useful WAP stuff out there, not because WAP is at fault but IMHO because the phone screens are so bloody small and terrible to use.
regards,
Paul Watson
Bluegrass
Cape Town, South Africa
Do you Sonork? I do! 100.9903 Stormfront
"The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge
|
|
|
|
|
The problem with this is how do you define 'new'? The WAP specs dicate cookies - but cookies aren't always implemented, so it's back to the old 'lowest common denominator'
And where's my code snippet scripts? Huh? Huh?!
(feeling a little under pressure after asking for new features, so I'm turning defence into attack and confusing the issue in order to make a quick exit stage left.)
cheers,
Chris Maunder
|
|
|
|
|
Chris Maunder wrote:
The problem with this is how do you define 'new'? The WAP specs dicate cookies - but cookies aren't always implemented, so it's back to the old 'lowest common denominator'
Without a cookie the only way would be to add extra data for each member which says whether they have viewed an item or not. If viewed, not new, if not viewed, new.
However I can see your blood draining from your face as you think of your poor servers and the strain this puts on it.
The only other way then would be to have a cut-off date. Lets say two days. Anything older than two days is not new. Everything else is new.
But that severely cuts down on the usefulness of the ideas.
So get new servers? Just win the lottery! It will make you happy
Chris Maunder wrote:
And where's my code snippet scripts? Huh? Huh?!
it is amazing how things which are not "official" or do not have strict deadlines just go on and on and on and on and never get finished. Well as soon as I am back from London I am going ahead with it, and I know Jason is still keen, he is just a bit busy.
Would you prefer money or the scripts?
Chris Maunder wrote:
feeling a little under pressure after asking for new features
Ok, as for the WAP features they were off the top of my head and I am pretty sure I actually would not use them much. WAP connections are expensive in SA (about 4 times more than a normal mobile voice phone call.) So don't even think of stressing over that.
regards,
Paul Watson
Bluegrass
Cape Town, South Africa
Do you Sonork? I do! 100.9903 Stormfront
"The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge
|
|
|
|
|
Paul Watson wrote:
Chris Maunder wrote:
And where's my code snippet scripts? Huh? Huh?!
it is amazing how things which are not "official" or do not have strict deadlines just go on and on and on and on and never get finished. Well as soon as I am back from London I am going ahead with it, and I know Jason is still keen, he is just a bit busy.
Now that is an understatement! FiretrUCKING swamped is more like it, if I was just busy I would be relaxed by comparison.
I have been feeling a bit guilty about my lack of activity on the snippet project. Fortunately Chris is all the way over in Canberra and I am relatively sure he can not hit me with a beer from there.
Seriously though, Paul is right I am still willing and interested. As soon as Paul gets back home we will touch base and see if we can get things rolling. (one more project for the to-do list *groan* )
At least I am managing to skim the forums a bit again. I haven't been able to spare the time to do more than glance at the Lounge a few times in the last month.
Jason Jystad
Cito Technologies
www.citotech.net
Sonork ID 100.9918
>-------------------------------------------------<
Every program has at least one bug and can be shortened by at least one instruction -- from which, by induction, one can deduce that every program can be reduced to one instruction that doesn't work.
>-------------------------------------------------<
|
|
|
|
|
hi,
A link has been put on the client web site.By clicking the link it opens a page in my server.I have given the below link to the client:
click
The problem is that,i want to make my site secured and give access for only registered clients.i wanna get their reference and validate in my database.I can get the clients url through server variables HTTP_REFERER,but for the clients who want to open in POP UP windows it gives problem,since HTTP_REFERER doesn't work on POP UP.I can write a javascript on the client side to capture their url but they are not willing change ant code of their side.
So,could any one help me out with this problem.I want some client details so that i can validate in my page through database.Thanks in advance!!
|
|
|
|
|
Hi Chandan.
Very quick reply here as I am just heading out the office.
We had this problem and found we had to store the refferer in a session variable (uniquely id it with the session id) on the page which pop's up the pop up window.
regards,
Paul Watson
Bluegrass
Cape Town, South Africa
Do you Sonork? I do! 100.9903 Stormfront
"The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge
|
|
|
|
|
hi paul,
I just wanna know whether we can pass sessions through servers.What i know about sessions is that, it cannot be passed with in the server.Am i right!!Even i tried to do what u had said, but failed to get the session variables if declared in an remote server.
Could u plz help me out!It's pretty serious over here.Thanx in advance.Waiting for ur reply.
regards,
chandan
|
|
|
|
|
chandan wrote:
I just wanna know whether we can pass sessions through servers
You cannot, as far as I know.
Do you have any other identifying details you can use to id the session variable? e.g. a user name?
If so then save the session variable to a database that server B can access. Along with that save put the user name. Don't use the session id as server B won't be able to use it properly.
If you don't have any other unique id then you could have a problem. I will give it a think over.
regards,
Paul Watson
Bluegrass
Cape Town, South Africa
"The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge
Martin Marvinski wrote:
Unfortunatly Deep Throat isn't my cup of tea
Do you Sonork? I do! 100.9903 Stormfront
|
|
|
|
|
hi paul,
Thanx for ur reply...paul.I have tried to explain u the exact functionality,what i require and the problems i am facing.
Below is the link, i have given to the client, to access our server.
"Link to demo
"
Problem i am facing:
1.This link can be seen by everone who 'viewsource' the cleint page.Just the copy this link and pasting on a browser anyone can get access to my server, since i am checking in the databse for the querystring value.I wanna restrict unregistered users.
2.I can use servervariables("HTTP_REFERER"), it works fine if client wishes to open our pages in a window or frames, but if client wanna open in a popup window, i will not able to get the referer for validation.
3.I cannot give the client any more code for inserting into his page,since they are very arrogant and will not agree,hence rule out the idea of setting cookies or any other javascript functions.What ever we have to do is with our pages only.
This link has been given to 4 clients and two of them are opening in popups and other two in frames.From clients point of view functionality is fine but we are worried since the link is not secured.
Plz, paul give me some solution so that i can handle this.There is very less time and pressure is on.Hope u can understand.Thanks in advance!!Eagerly waiting for ur reply.
regards,
chandan
|
|
|
|
|
How can I get IE's vertical scrollbar position?
I user WM_HTML_GETOBJECT on IE's window to obtain IHTMLDocument2, then I do get_body to get IHTMLElement, following with QueryInterface for IHTMLElement2. Everything finish successfully, but every call to get_scrollTop returns a zero.
- Goran.
|
|
|
|
|
If you've been trying to run ASP pages that use the FileSystemObject and IIS keeps hanging then it may be Norton Anti-virus that's causing the problem (that is - only if you have it installed )
To allow your scripts to run:
1. Start Norton Anti-Virus
2. Click Options / Click Script Blocking.
3. Uncheck "Enable Script Blocking (recommended)".
4. Click OK.
Be sure to re-enable script blocking after the script has run.
cheers,
Chris Maunder
|
|
|
|
|
I'm working on a new layout for my site(a VERY basic version of it can be found here. As you can see, its far from completed. I have a popup menu (using a simple script and the display property) that I would like to either scroll down, or maybe fade in. Does anybody know of an example, or tutorial of some kind that I can look at? I don't want anybody to do it for me or anything(that's cheating, and ruins the fun!!). Thanks in advance.
|
|
|
|
|
this is just a folowup from my question:
I tried making a for loop that would increment the height and width of the div, maybe with a setTimeout() and then with(menu.style)height = heightvar++;
It didn't work
|
|
|
|
|
I have a problem with a frameset where I need to call a function scripted in one frame from the sibling frame. I have tried what I think the JavaScript Bible outlined but keep getting errors saying the object is NULL. Accessing variable seems to work.
I'm at a loss.
Happy programming!!
|
|
|
|
|
I tried to use the w3socket component in asp.I have written the program down which i have tried to do using this component.But i have got the output as shown below the program.The program is supposed to retrieve the page and display the HTML source.I would like to get a reply as soon as possible.
<%@ Language=VBScript %>
<%
Set mySock=Server.CreateObject("Socket.TCP")
mySock.Host="10.2.1.20:80"
theRequest="GET/Default.html HTTP/1.1" & vbCRLF
theRequest=theRequest & "Accept:text/html" & vbCRLF
theRequest=theRequest & vbCRLF
mySock.Open()
mySock.SendLine theRequest
mySock.WaitForDisconnect()
Response.Write "
" & Server.HTMLEncode(mySock.Buffer) & " "
mySock.Close()
%>
OUTPUT IN THE BROWSER:
HTTP/1.1 400 Bad Request
Server: Microsoft-IIS/5.0
Date: Fri, 04 Jan 2002 05:54:11 GMT
Content-Type: text/html
Content-Length: 87
<title>ErrorThe parameter is incorrect.
|
|
|
|
|
Hi folks,
Lately I have been spending some time attempting to get my head around ASP.NET. One on the exercises I have set myself is to build a modest little website. But I have run into a few design problems that I hope some one can help me with.
I have decided to have a standard header to each page. (Just like code project has the standard header at the top of this page.) In pure ASP I would have had these as a SSI (eg .
In ASP.NET this still works but when I attempt to add make the header a bit smarter by making it a WebForm things get all confused. This happens because they are each seperate pages with seperate C# code behind them. Which means there is two <@ Page ...> directives. Which means it doesn't work!
What is the proper design pattern/model to acheive this type of behaviour?
I hope this makes sense to you all...
Matt
------
Accept that some days you are the pigeon and some days the statue.
|
|
|
|
|
Hi,
I am trying to re write a site using smarty php templates which are based on perl's fast templates.
This question would stand no matter what the language.
Say, i totally encapsulated the html from code. Well suppose there is one part on the page that is different depending on whatever.
Now, does that mean I have to make a file for this one little snippet of html??? And if so, Whats a good way to organize this?
Am I missing somethin? It sucks to work alone!
harry
|
|
|
|
|
Hmm... I actually have no idea about PHP , but if I understand the question...
No, you don't have to have a different file. Remember that PHP is a server-side scripting language, that means you are writing the final HTML code (which the user will see) right from your .php file. Like this (as I said I dunno PHP, so writing the example like in JavaScript)
if(someVariableYouHave){
write("<H1>Hello mister</H1>");
}else{
write("<H3>Good bye, sir</H3>");
}
So if the variable "someVariableYouHave" is true, the end-user will see "Hello mister", otherwise "Good bye"
Philip Patrick
"Two beer or not two beer?" <shakesbeer>
Web-site: www.saintopatrick.com
|
|
|
|
|