473,665 Members | 2,827 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Question about structure of XHTML



Hello,

I was pondering creating form filling software. As a sample I decided
to take a look at
the sign up page for hotmail (http://get.live.com/mail/overview then
Signup)
Probably not the best example as it looks quite complicated.
My main question is, when you have filled in the fields etc. and
click I Accept, where
is the form actually submitted?

I'm guessing it is submitted via javascript, either
https://signup.live.com/scripts/live...nx=11.0.3828.0
or https://signup.live.com/scripts/omni...nx=11.0.3828.0 at the
bottom. Presumably the parameters collected in the fielda are
submitted somehow? I don't really understand how the field inputs are
passed as it doesn't seem particularly obvious. Also, I see no
reference to <web: ..tags, are these ASP specific or some such?
Thanks,

Gordy.

May 27 '07 #1
8 2110
On May 26, 10:23 pm, gordon.is.a.mo. ..@gmail.com wrote:
Hello,

I was pondering creating form filling software. As a sample I decided
to take a look at
the sign up page for hotmail (http://get.live.com/mail/overview then
Signup)
Probably not the best example as it looks quite complicated.
My main question is, when you have filled in the fields etc. and
click I Accept, where
is the form actually submitted?

I'm guessing it is submitted via javascript, eitherhttps://signup.live.com/scripts/liveframework.j s?nx=11.0.3828. 0
orhttps://signup.live.com/scripts/omnitureH2.js?n x=11.0.3828.0at the
bottom. Presumably the parameters collected in the fielda are
submitted somehow? I don't really understand how the field inputs are
passed as it doesn't seem particularly obvious. Also, I see no
reference to <web: ..tags, are these ASP specific or some such?

Your example likely uses a lot of Microsoftese code, and I would not
use it as a good example for making your own page. But everyone to
their own taste.

Often a lot of server side code is used that can not be seen in the
source code you can see when viewing the page on a browser. I will
give you one example of this. See my perpetual calendar at
http://www.cwdjr.net/calendar2/perpetual_calendar.php . The source
code is very short and simple. No script is used, and a simple form is
used to submit the year you wish. This goes to a php page on the
server that is very long and which you do not see. When it receives
the year requested, all hell breaks loose. First the year is examined
to see if it is in the range you were told to use. If not, you get an
insult from a parrot rather than a calendar. If the year is within
range, the calendar is calculated along with the css to format the
calendar. Then the finished calendar is downloaded to the viewing
browser. This calendar can be calculated locally on the browser using
an extremely long javascript. However javascript may be turned off by
the viewer, but the viewer can not turn off the php script on the
server.
May 27 '07 #2
JD
go************* **@gmail.com wrote:
>
Hello,

I was pondering creating form filling software. As a sample I decided
to take a look at
the sign up page for hotmail (http://get.live.com/mail/overview then
Signup)
Probably not the best example as it looks quite complicated.
My main question is, when you have filled in the fields etc. and
click I Accept, where
is the form actually submitted?

I'm guessing it is submitted via javascript, either
https://signup.live.com/scripts/live...nx=11.0.3828.0
or https://signup.live.com/scripts/omni...nx=11.0.3828.0 at the
bottom. Presumably the parameters collected in the fielda are
submitted somehow? I don't really understand how the field inputs are
passed as it doesn't seem particularly obvious. Also, I see no
reference to <web: ..tags, are these ASP specific or some such?
Thanks,

Gordy.
Hi

As cwdjrxyz explained, the Hotmail signup page is full of Microsoft crap
and not a good starting point for understanding forms. Besides, that
page has a XHTML 1.0 Strict doctype but the code is nothing like XHTML
Strict, so it's simply chocful of validation errors.

To get to grips with forms, you really need to have some knowledge of
server-side scripting. PHP, a server-side scripting language, is both
popular and easy to learn. After a bit of practice, you'll be amazed how
easy it is to set up forms and then process the data with PHP.

To learn PHP, you can install Apache and PHP on your computer and then
tweak the config files to get them to work together. It's not hard, and
both are available for Windows.
May 27 '07 #3
go************* **@gmail.com wrote:
>
Hello,

I was pondering creating form filling software.
You will need to process the form on the server. This page has a good,
secure form script written in Perl.

http://nms-cgi.sourceforge.net/scripts.shtml

Now what you need to do is learn how to create the form in HTML.
May 27 '07 #4
Gazing into my crystal ball I observed go************* **@gmail.com
writing in news:11******** **************@ g37g2000prf.goo glegroups.com:
>

Hello,

I was pondering creating form filling software. As a sample I decided
to take a look at
the sign up page for hotmail (http://get.live.com/mail/overview then
Signup)
Probably not the best example as it looks quite complicated.
My main question is, when you have filled in the fields etc. and
click I Accept, where
is the form actually submitted?
This may be of interest to you
<http://intraproducts.c om/usenet/requiredform.as p>. It's a form I made
as an example of how to process a simple contact form in ASP classic. It
uses CSS to format the form, and to show the user if a required field is
missing. Full source for the markup and server side as well. Enjoy!
--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

May 27 '07 #5
On May 28, 9:02 am, Adrienne Boswell <arb...@yahoo.c omwrote:
Gazing into my crystal ball I observed gordon.is.a.mo. ..@gmail.com
writing innews:11****** *************** *@g37g2000prf.g ooglegroups.com :
Hello,
I was pondering creating form filling software. As a sample I decided
to take a look at
the sign up page for hotmail (http://get.live.com/mail/overview then
Signup)
Probably not the best example as it looks quite complicated.
My main question is, when you have filled in the fields etc. and
click I Accept, where
is the form actually submitted?

This may be of interest to you
<http://intraproducts.c om/usenet/requiredform.as p>. It's a form I made
as an example of how to process a simple contact form in ASP classic. It
uses CSS to format the form, and to show the user if a required field is
missing. Full source for the markup and server side as well. Enjoy!

--
Adrienne Boswell at Home
Arbpen Web Site Design Serviceshttp://www.cavalcade-of-coding.info
Please respond to the group so others can share
Thanks everyone. The links will come in handy. I should explain,
I want my software to fill in a form on a page which is not under my
control.
So running a server side script is not an option. I was looking more
towards
interpreting the page somehow and then filling in the fields. As I
know
the structure of the page (i.e. they are fairly static) it may be
possible.
One worry though is the log in aspect, I suspect it will log me out
all the time unless I handle cookies etc. And then there's the
javascript...

Anyway you gave me some good pointers, thanks.

Gordy

May 28 '07 #6
go************* **@gmail.com wrote:
Thanks everyone. The links will come in handy. I should explain, I
want my software to fill in a form on a page which is not under my
control.
You will have no choice but to write a script. It may run on a web
server or locally.
So running a server side script is not an option.
It may be your only option.
I was looking more towards interpreting the page somehow and then
filling in the fields.
Perl has tools that will do that. I imagine PHP does as well.

You can look here, but you would need to know Perl to make use of it.

http://search.cpan.org/~petdance/WWW...W/Mechanize.pm

One worry though is the log in aspect, I suspect it will log me out
all the time unless I handle cookies etc.
www::mechanize can handle cookies.
And then there's the javascript...
If the page you are trying to interpret requires Javascript, you may not
be able to do what you want to do.
May 28 '07 #7
On Sun, 27 May 2007 09:20:22 +0100, JD <us**@example.n etwrote:
>go************ ***@gmail.com wrote:
>To learn PHP, you can install Apache and PHP on your computer and then
tweak the config files to get them to work together. It's not hard, and
both are available for Windows.
I'll second that. Have a look at Netserver
(http://sourceforge.net/projects/netserver/) for a completely painless
setup.
--
Brendan Gillatt
www.brendangillatt.co.uk
GPG: 0x6E265E61
May 29 '07 #8
On May 30, 4:49 am, Brendan Gillatt
<bren...@brenda nREMOVETHISgill att.co.ukwrote:
On Sun, 27 May 2007 09:20:22 +0100, JD <u...@example.n etwrote:
gordon.is.a.mo. ..@gmail.com wrote:
To learn PHP, you can install Apache and PHP on your computer and then
tweak the config files to get them to work together. It's not hard, and
both are available for Windows.

I'll second that. Have a look at Netserver
(http://sourceforge.net/projects/netserver/) for a completely painless
setup.
--
Brendan Gillattwww.bren dangillatt.co.u k
GPG: 0x6E265E61
Thanks Scott and Brendan. I'll look into these.

Regards,

Gordy

May 30 '07 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2037
by: chris | last post by:
hi, i am looking for a way to structure the text in XML comments to produce a XHTML doc format for the XMLs (in this case XSLT). so is was thinking about using a wiki like text format. e.g. something like <!-- !Headline some __bold__ text in a paragraph * a list
9
2015
by: Weekend | last post by:
Currently, i want to develope a multiple choice exam website. The content of the test is store in an XML file. I want to carry out some function. Could you tell me which programming language should i use? 1.A page that display the content of the XML file. (JavaScript, JSP, XSL, DOM, DSO ActiveObject control ?) 2.A page that Give the feeback to the users who finished the exam. (this part i would like to use JSP) 3.A page that enable me to...
16
2280
by: Dave | last post by:
Hello all, I'm getting a strange error when I try to validate my page(s). The error occurs when I use SELECT and INPUT tags inside of the FORM tag. I am trying to use the XHTML 1.0 Strict standard. I am also using ColdFusion, but I having been using regular FORM tags instead of the proprietary CFFORM tags. If you can't put SELECT and INPUT tags inside of the FORM tag, where are you supposed to put them??? Take a look and tell me what...
27
3064
by: Gene Ellis | last post by:
Something strange is happening, but I bet it is a quick fix. My favicon image is showing up in the URL bar, for a couple of seconds, but then it disappears and the default browser icon is displayed. When I reload the page, the same thing happens. The correct icon appears for a few seconds (while the page is loading), but then goes away. You can see that here: http://webdev.ucop.edu/tltc_ph2/index_icon.html
8
1250
by: Robert Latest | last post by:
Hello, I'm new in javascript programming (but am quite literate in HTML, CSS, and C). It's amazing what one can do with JS and fairly modern browsers. One thing that struck me as odd was that there is no way to portably find out the size (in pixels) of the current browser window (or of any HTML element for that matter, unless it was inline-CSSed). I'm wondering what the reason for this might be.
8
2584
by: James Owens | last post by:
I'm a relative newbie, interested in storing the information from several server directories and subdirectories in XML so that I can present it selectively using XSL (all files updated today or last MOnday, files from several drirectories in alphabetical order, things like that). To represent directories and subidrectories, is it advisable to nest the same element: <directory> <directory>
5
3337
by: Viken Karaguesian | last post by:
Hello everyone, I have a question about the XHTML doctype. I often times see this statement included in the <html> tag: <html xmlns="http://www.w3.org/1999/xhtml"> If I use the full standard XHTML doctype, do I need to add the extra html statement or is just plain ol' <html> enough? I'm not sure what the difference is or if it's required to use them together or not.
2
1378
by: chriscorbell | last post by:
I have a specific but somewhat high-level question on how to approach a schema which embeds a subset of XHTML in some elements. I have a schema defined for a logical document structure. Sections of this document can contain presentation text; the schema allows a subset of XHTML for these sections. All of this works fine as far as XML schema validation etc. I have an XSL transformation defined to convert my xml document to XHTML. ...
14
1768
by: ablock | last post by:
I have an array to which i have a added a method called contains. I would like to transverse this array using for...in...I understand fully that for...in is really meant for Objects and not Arrays, but I purposely had this array filled unsequentially because the key for the array is meant to act as an ID which has a contextual meaning in my script. The problem, of course, is that for...in also returns my method 'contains' as one of the...
0
8438
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8863
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8549
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7376
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6187
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5660
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4356
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2004
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1761
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.