My ICAL PHP script validates OK but certain events are not appearing in Google Calendar.
My PHP url is here:
http://www.thefishy.eu/calendar.php
Google Calendar shows the first 9 events up to Aug 1.
Then it misses out 11 events until Sep 15. After that its fine.
This page shows all the events correctly.
http://www.instantcal.com/isc/js/cvu.html
Is this some kind of caching problem with Google because I am pretty sure the ICAL is correct?
UPDATE: here is the source of the calendar
This event is an example of one (the first) that does not appear
VEVENT BEGIN:VEVENT SUMMARY:Kidderminster (away) UID:101
STATUS:CONFIRMED DTSTART:20150808T140000Z DTEND:20150808T160000Z
LOCATION:Aggborough Stadium END
Full source:
BEGIN:VCALENDAR METHOD:PUBLISH VERSION:2.0
PRODID:-//TheFishy.co.uk//Grimsby Town Fixtures Calendar//EN
X-WR-CALNAME:Grimsby Town Fixtures 2015/16 BEGIN:VEVENT
SUMMARY:Cleethorpes Town (away) UID:631 STATUS:CONFIRMED
DTSTART:20150708T180000Z DTEND:20150708T200000Z LOCATION:Bradley
END:VEVENT BEGIN:VEVENT SUMMARY:Derby County (home) UID:632
STATUS:CONFIRMED DTSTART:20150711T140000Z DTEND:20150711T160000Z
LOCATION:Blundell Park END:VEVENT BEGIN:VEVENT SUMMARY:North Ferriby
United (away) UID:633 STATUS:CONFIRMED DTSTART:20150714T183000Z
DTEND:20150714T203000Z LOCATION:Grange Lane END:VEVENT BEGIN:VEVENT
SUMMARY:Gainsbrough Trinity (away) UID:634 STATUS:CONFIRMED
DTSTART:20150718T140000Z DTEND:20150718T160000Z LOCATION:The Northolme
END:VEVENT BEGIN:VEVENT SUMMARY:Huddersfield Town (home) UID:635
STATUS:CONFIRMED DTSTART:20150721T183000Z DTEND:20150721T203000Z
LOCATION:Blundell Park END:VEVENT BEGIN:VEVENT SUMMARY:Brigg
Town/Grantham (Lincs Cup) (away) UID:636 STATUS:CONFIRMED
DTSTART:20150722T180000Z DTEND:20150722T200000Z LOCATION:TBA
END:VEVENT BEGIN:VEVENT SUMMARY:Notts County (home) UID:637
STATUS:CONFIRMED DTSTART:20150725T140000Z DTEND:20150725T160000Z
LOCATION:Blundell Park END:VEVENT BEGIN:VEVENT SUMMARY:Peterborough
Utd (home) UID:638 STATUS:CONFIRMED DTSTART:20150728T183000Z
DTEND:20150728T203000Z LOCATION:Blundell Park END:VEVENT BEGIN:VEVENT
SUMMARY:Boston Utd (home) UID:639 STATUS:CONFIRMED
DTSTART:20150801T140000Z DTEND:20150801T160000Z LOCATION:York Street
END:VEVENT BEGIN:VEVENT SUMMARY:Kidderminster (away) UID:101
STATUS:CONFIRMED DTSTART:20150808T140000Z DTEND:20150808T160000Z
LOCATION:Aggborough Stadium END:VEVENT BEGIN:VEVENT SUMMARY:Barrow
(home) UID:102 STATUS:CONFIRMED DTSTART:20150811T184500Z
DTEND:20150811T204500Z LOCATION:Blundell Park END:VEVENT BEGIN:VEVENT
SUMMARY:Bromley (home) UID:103 STATUS:CONFIRMED
DTSTART:20150815T140000Z DTEND:20150815T160000Z LOCATION:Blundell Park
END:VEVENT BEGIN:VEVENT SUMMARY:Altrincham (away) UID:104
STATUS:CONFIRMED DTSTART:20150818T184500Z DTEND:20150818T204500Z
LOCATION:Moss Lane END:VEVENT BEGIN:VEVENT SUMMARY:Torquay (home)
UID:105 STATUS:CONFIRMED DTSTART:20150822T140000Z
DTEND:20150822T160000Z LOCATION:Blundell Park END:VEVENT BEGIN:VEVENT
SUMMARY:Lincoln City (away) UID:106 STATUS:CONFIRMED
DTSTART:20150829T140000Z DTEND:20150829T160000Z LOCATION:Sincil Bank
END:VEVENT BEGIN:VEVENT SUMMARY:Macclesfield (home) UID:107
STATUS:CONFIRMED DTSTART:20150831T140000Z DTEND:20150831T160000Z
LOCATION:Blundell Park END:VEVENT BEGIN:VEVENT SUMMARY:Boreham Wood
(away) UID:108 STATUS:CONFIRMED DTSTART:20150905T140000Z
DTEND:20150905T160000Z LOCATION:Meadow Park END:VEVENT BEGIN:VEVENT
SUMMARY:Aldershot (home) UID:109 STATUS:CONFIRMED
DTSTART:20150912T140000Z DTEND:20150912T160000Z LOCATION:Blundell Park
END:VEVENT BEGIN:VEVENT SUMMARY:Chester (away) UID:110
STATUS:CONFIRMED DTSTART:20150915T184500Z DTEND:20150915T204500Z
LOCATION:Deva Stadium END:VEVENT BEGIN:VEVENT SUMMARY:Tranmere (home)
UID:111 STATUS:CONFIRMED DTSTART:20150919T140000Z
DTEND:20150919T160000Z LOCATION:Blundell Park END:VEVENT BEGIN:VEVENT
SUMMARY:Wrexham (away) UID:112 STATUS:CONFIRMED
DTSTART:20150922T140000Z DTEND:20150922T160000Z LOCATION:Racecourse
Ground END:VEVENT BEGIN:VEVENT SUMMARY:Southport (away) UID:113
STATUS:CONFIRMED DTSTART:20150926T140000Z DTEND:20150926T160000Z
LOCATION:Haig Avenue END:VEVENT BEGIN:VEVENT SUMMARY:Forest Green
(home) UID:114 STATUS:CONFIRMED DTSTART:20151003T140000Z
DTEND:20151003T160000Z LOCATION:Blundell Park END:VEVENT BEGIN:VEVENT
SUMMARY:Gateshead (home) UID:115 STATUS:CONFIRMED
DTSTART:20151006T184500Z DTEND:20151006T204500Z LOCATION:Blundell Park
END:VEVENT BEGIN:VEVENT SUMMARY:Braintree Town (away) UID:116
STATUS:CONFIRMED DTSTART:20151010T140000Z DTEND:20151010T160000Z
LOCATION:Cressing Road END:VEVENT BEGIN:VEVENT SUMMARY:FC Halifax
(home) UID:117 STATUS:CONFIRMED DTSTART:20151013T184500Z
DTEND:20151013T204500Z LOCATION:Blundell Park END:VEVENT BEGIN:VEVENT
SUMMARY:Torquay (away) UID:118 STATUS:CONFIRMED
DTSTART:20151017T140000Z DTEND:20151017T160000Z LOCATION:Plainmoor
END:VEVENT BEGIN:VEVENT SUMMARY:Cheltenham (home) UID:119
STATUS:CONFIRMED DTSTART:20151031T150000Z DTEND:20151031T170000Z
LOCATION:Blundell Park END:VEVENT BEGIN:VEVENT SUMMARY:Barrow (away)
UID:120 STATUS:CONFIRMED DTSTART:20151110T194500Z
DTEND:20151110T214500Z LOCATION:Holker Street END:VEVENT BEGIN:VEVENT
SUMMARY:Welling (home) UID:121 STATUS:CONFIRMED
DTSTART:20151114T150000Z DTEND:20151114T170000Z LOCATION:Blundell Park
END:VEVENT BEGIN:VEVENT SUMMARY:Eastleigh (away) UID:122
STATUS:CONFIRMED DTSTART:20151121T150000Z DTEND:20151121T170000Z
LOCATION:Ten Acres END:VEVENT BEGIN:VEVENT SUMMARY:Kidderminster
(home) UID:123 STATUS:CONFIRMED DTSTART:20151128T150000Z
DTEND:20151128T170000Z LOCATION:Blundell Park END:VEVENT BEGIN:VEVENT
SUMMARY:Bromley (away) UID:124 STATUS:CONFIRMED
DTSTART:20151205T150000Z DTEND:20151205T170000Z LOCATION:Hayes Lane
END:VEVENT BEGIN:VEVENT SUMMARY:Dover (home) UID:125 STATUS:CONFIRMED
DTSTART:20151219T150000Z DTEND:20151219T170000Z LOCATION:Blundell Park
END:VEVENT BEGIN:VEVENT SUMMARY:Guiseley (away) UID:126
STATUS:CONFIRMED DTSTART:20151226T150000Z DTEND:20151226T170000Z
LOCATION:Nethermoor Park END:VEVENT BEGIN:VEVENT SUMMARY:Lincoln City
(home) UID:127 STATUS:CONFIRMED DTSTART:20151228T150000Z
DTEND:20151228T170000Z LOCATION:Blundell Park END:VEVENT BEGIN:VEVENT
SUMMARY:Guiseley (home) UID:128 STATUS:CONFIRMED
DTSTART:20160102T150000Z DTEND:20160102T170000Z LOCATION:Blundell Park
END:VEVENT BEGIN:VEVENT SUMMARY:Welling (away) UID:129
STATUS:CONFIRMED DTSTART:20160109T150000Z DTEND:20160109T170000Z
LOCATION:Park View Road END:VEVENT BEGIN:VEVENT SUMMARY:Altrincham
(home) UID:130 STATUS:CONFIRMED DTSTART:20160123T150000Z
DTEND:20160123T170000Z LOCATION:Blundell Park END:VEVENT BEGIN:VEVENT
SUMMARY:Gateshead (away) UID:131 STATUS:CONFIRMED
DTSTART:20160130T150000Z DTEND:20160130T170000Z LOCATION:International
Stadium END:VEVENT BEGIN:VEVENT SUMMARY:Woking (home) UID:132
STATUS:CONFIRMED DTSTART:20160206T150000Z DTEND:20160206T170000Z
LOCATION:Blundell Park END:VEVENT BEGIN:VEVENT SUMMARY:Boreham Wood
(home) UID:133 STATUS:CONFIRMED DTSTART:20160213T150000Z
DTEND:20160213T170000Z LOCATION:Blundell Park END:VEVENT BEGIN:VEVENT
SUMMARY:FC Halifax (away) UID:134 STATUS:CONFIRMED
DTSTART:20160220T150000Z DTEND:20160220T170000Z LOCATION:The Shay
END:VEVENT BEGIN:VEVENT SUMMARY:Southport (home) UID:135
STATUS:CONFIRMED DTSTART:20160227T150000Z DTEND:20160227T170000Z
LOCATION:Blundell Park END:VEVENT BEGIN:VEVENT SUMMARY:Aldershot
(away) UID:136 STATUS:CONFIRMED DTSTART:20160301T194500Z
DTEND:20160301T214500Z LOCATION:Recreation Ground END:VEVENT
BEGIN:VEVENT SUMMARY:Forest Green (away) UID:137 STATUS:CONFIRMED
DTSTART:20160305T150000Z DTEND:20160305T170000Z LOCATION:The Lawn
END:VEVENT BEGIN:VEVENT SUMMARY:Braintree Town (home) UID:138
STATUS:CONFIRMED DTSTART:20160312T150000Z DTEND:20160312T170000Z
LOCATION:Blundell Park END:VEVENT BEGIN:VEVENT SUMMARY:Woking (away)
UID:139 STATUS:CONFIRMED DTSTART:20160319T150000Z
DTEND:20160319T170000Z LOCATION:Kingfield Stadium END:VEVENT
BEGIN:VEVENT SUMMARY:Wrexham (home) UID:140 STATUS:CONFIRMED
DTSTART:20160326T150000Z DTEND:20160326T170000Z LOCATION:Blundell Park
END:VEVENT BEGIN:VEVENT SUMMARY:Macclesfield (away) UID:141
STATUS:CONFIRMED DTSTART:20160328T184500Z DTEND:20160328T204500Z
LOCATION:Moss Rose END:VEVENT BEGIN:VEVENT SUMMARY:Cheltenham (away)
UID:142 STATUS:CONFIRMED DTSTART:20160402T140000Z
DTEND:20160402T160000Z LOCATION:Whaddon Road END:VEVENT BEGIN:VEVENT
SUMMARY:Eastleigh (home) UID:143 STATUS:CONFIRMED
DTSTART:20160409T140000Z DTEND:20160409T160000Z LOCATION:Blundell Park
END:VEVENT BEGIN:VEVENT SUMMARY:Dover (away) UID:144 STATUS:CONFIRMED
DTSTART:20160416T140000Z DTEND:20160416T160000Z LOCATION:Crabble
END:VEVENT BEGIN:VEVENT SUMMARY:Chester (home) UID:145
STATUS:CONFIRMED DTSTART:20160423T140000Z DTEND:20160423T160000Z
LOCATION:Blundell Park END:VEVENT BEGIN:VEVENT SUMMARY:Tranmere (away)
UID:146 STATUS:CONFIRMED DTSTART:20160430T140000Z
DTEND:20160430T160000Z LOCATION:Prenton Park END:VEVENT BEGIN:VEVENT
SUMMARY:Wembley (away) UID:211 STATUS:CONFIRMED
DTSTART:20160522T140000Z DTEND:20160522T160000Z LOCATION: END:VEVENT
END:VCALENDAR
Related
When adding an event via the request URL, do I absolutely need the Contacts/Leads record ID or is there a way I can add the Contact to the event with just their email address?
I'm adding events to CRM and I am able to add the 'Event Owner' which is field type 'lookup' with email. I then try the same with Contact Name (Who Id), but the relationship is not made with the email. I need to use the record ID, but would love to end with email.
Event fields:
<Events>
<section name="Event Information" dv="Event Information">
<FL req="false" type="Lookup" isreadonly="false" maxlength="120" label="Event Owner" dv="Event Owner" customfield="false"/>
<FL req="true" type="Text" isreadonly="false" maxlength="255" label="Subject" dv="Subject" customfield="false"/>
<FL req="true" type="DateTime" isreadonly="false" maxlength="120" label="Start DateTime" dv="Start DateTime" customfield="false"/>
<FL req="true" type="DateTime" isreadonly="false" maxlength="120" label="End DateTime" dv="End DateTime" customfield="false"/>
<FL req="false" type="Lookup" isreadonly="false" maxlength="120" label="Who Id" dv="Contact Name" customfield="false"/>
<FL req="false" type="Text" isreadonly="false" maxlength="100" label="Remind At" dv="Remind At" customfield="false"/>
</section>
</Events>
Looks like you can only add the Contact to the event with the ID, so what I did was retrieved the contact ID from the submitted email, then added to event.
if(isset($formvars['user_email'])){
$url = "https://crm.zoho.com/crm/private/xml/Contacts/searchRecords?authtoken=TOKEN&scope=crmapi&criteria=((Email:". $formvars['user_email'] ."))&selectColumns=CONTACTID";
$xmlresponse = simplexml_load_file($url);
$client = (string) $xmlresponse->result->Contacts->row->FL;
}
I have some code with data embedded in it. Here's a sample:
<div class='clear' ></div>
</div> <!-- findResultListing -->
<div class='findResultListing ' id='result_listing_7_0' onclick='examMapManagerHandle.clickMarker(7,0);'>
<a href='javascript:examMapManagerHandle.clickMarker(7,0);'>
<img class='balloon' src='/system/themes/asp/img/gmarkerH.png' border='0' />
</a>
<div class='findResultInfo'>
<div class="nextStep">
<a href="/system/modules/shibboleth/secure_find/shib_gateway.php?url=%2Fexams%2Fschedule.php%3Fnav%3Dexams%2Cstucourses%2Cexams%2Csched_exam%26amp%3Badd_locid%3D1672">
<img height="16" border="0" align="left" width="16" src="/system/themes/asp/img/schedule.png"/>Schedule Exam
</a>
</div>
<a href='javascript:examMapManagerHandle.clickMarker(7,0);' >
SJSU Testing
<img class='userType' border='0' src="/system/themes/asp/img/org.png" alt='Testing Site' title='Testing Site'/>
</a>
<br />
One Washington Square<br />
Industrial Studies Building 228<br />
San Jose, CA 95112<br />
Phone: (408) 924-5980<br />
Email: <span id="_smarty_mailto_span_2096382943_1423929156_8"> </span>
<noscript>To see email address, enable javascript</noscript>
<script type="text/javascript">var mailto=document.getElementById("_smarty_mailto_span_2096382943_1423929156_8");
mailto.innerHTML='<a href="mailto:testing-office#sjsu.edu" >testing-office#sjsu.edu</a>';</script><br />
Fee for two hour exam:
$40.00
<a class="helpBtn" onmouseover="asp_toolTip(this,' <strong>Fee Details:<\/strong> We charge $20 for the first hour and $10 for each half hour after... <br /> <strong>Miscellaneous Fees:<\/strong> Test emailed in pdf/Word Doc., we will charge an administrative fee of $15 for 10 or more test pages <br /> <strong>Parking Fee Details:<\/strong> Its $8.00 to park in the 10th St. garage on the corner of 9th & E. San Fernando Sts.', 'findResultsToolTip', 'fit_west', 'map_results_pane');"></a>
<br />
</div><!-- findResultInfo -->
I want to extract just the following from the above code:
SJSU Testing Testing Site
One Washington Square
Industrial Studies Building 228
San Jose, CA 95112
Phone: (408) 924-5980
Email: testing-office#sjsu.edu
Fee for two hour exam: $40.00
What are some ways in which I can automate the extraction of this data from the code?
Using Xpath I would make usage of this expression:
//*/text()
I am trying to use R to log into this website: http://www.broadinstitute.org/cmap/signature?servletAction=edit with the following code
library("RCurl")
connectivityMap_detailed_results <- function(up_grp, down_grp){
params <- list('j_username' = 'username',
'j_password' = 'password')
cmap <- postForm("http://www.broadinstitute.org/cmap/signature?servletAction=edit",
.params=params, style="POST")
print(cmap)
However, print(cmap) still shows the log-in page.
I also tried
tmp <- getURL("http://www.broadinstitute.org/cmap/signature?servletAction=edit",
userpwd = "user:pwd",verbose=TRUE)
with the same result.
How can I use RCurl to log in on that website?
cmap result
[1] "
<html>
<head>
<link href="styles/stylesheet.css" rel="stylesheet" type="text/css">
<link rel="SHORTCUT ICON" href="favicon.ico" >
<title>Connectivity Map sign-in</title>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body>
<div style="overflow: hidden;"><img border="0" src="images/banner1.jpg" alt="cmap" title="cmap"></div>
<div align="right" style="text-align: right;" width="100%">
</div>
<div id="tabContainer" class="tabContainer"><span id="tabSpace" class="tabSpace"> </span></div>
<div class="error"></div>
<br><br>
<form name="login2" target="_top" method="POST" action="j_security_check">
<table>
<tr>
<td align="right" valign="top">
username:
</td>
<td valign="top">
<input name="j_username" size="50" value="">
</td>
</tr>
<tr>
<td align="right" valign="top">
password:
</td>
<td valign="top">
<input type="password" name="j_password" size="50">
</td>
</tr>
<tr>
<td align="right" valign="top">
</td>
<td valign="top">
<input type="submit" name="submit" value="sign in" class="little">
<br/><br/>
email me my password |
register as a new user
</td>
</tr>
</table>
</form>
<hr/>
<p class="intro">The Connectivity Map (also known as cmap) is a collection of genome-wide transcriptional expression data from cultured human cells treated with bioactive small molecules and simple pattern-matching algorithms that together enable the discovery of functional connections between drugs, genes and diseases through the transitory feature of common gene-expression changes. You can learn more about cmap from our papers in <a target="_blank" href="http://www.sciencemag.org/cgi/content/full/313/5795/1929?ijkey=ylc.v/5sDLGKI&keytype=ref&siteid=sci"><i>Science</i></a> and <a target="_blank" href="http://www.nature.com/nrc/journal/v7/n1/pdf/nrc2044.pdf"><i>Nature Reviews Cancer</i></a>.
<!--table>
<tr><td align="right"><img src="images/scienceMag.png" height="25" style="padding-left: 25px;"></td><td> read our paper in Science Magazine<br/> </td></tr>
<tr><td align="right"><img src="http://www.broad.mit.edu/images/homelogo.gif" height="25" style="padding-left: 25px;"></td><td> an article about cmap at The Broad Institute website<br/> </td></tr>
<tr><td align="right"><img src="images/audio.gif" style="padding-left: 25px;"></td><td> listen to an interview on National Public Radio with Todd Golub about cmap<br/> </td></tr>
</table-->
</p>
<p class="intro">This web interface provides access to the current version (<b>build 02</b>) of Connectivity Map which contains more than 7,000 expression profiles representing 1,309 compounds. It is designed to allow biologists, pharmacologists, chemists and clinical scientists to use cmap without the need for any specialist ability in the analysis of gene-expression data. The previous version (<b>build 01</b>) of Connectivity Map can be accessed here.</p>
<p class="intro">A brief tutorial can be found by clicking 'getting started' under the 'help' tab after log in. Detailed help and a definition of cmap terms can be found by clicking 'topics', also under the 'help' tab. For everything else, please contact us.</p>
<p class="intro">The Connectivity Map is based at The Broad Institute of MIT and Harvard in Cambridge, Massachusetts. The cmap team is Justin Lamb, Xiaodong Lu, Dave Peck, Matt Wrobel, Aravind Subramanian, Irene Blat, Josh Modell, Jim Lerner, Elizabeth Liu and Emily Crawford. Jean-Philippe Brunet, Ken Ross, Michael Reich, Paul Clemons, Kathy Seiler, Steve Haggarty, Bang Wong, Maria Nemchuk, Ru Wei, Steve Carr, Christopher Johnson, Stephen Johnson, the MSigDB curation team, and the Genetic Analysis Platform contribute invaluable expertise and assistance. Todd Golub and Eric Lander provide institutional leadership for the project.</p>
<hr/>
privacy statement | terms and conditions<br/>
<img src="images/homelogo.gif" border="0"/>
<br/>© 2006 Broad Institute
<!--p class="intro">The Broad Institute is a research collaboration of MIT, Harvard and its affiliated Hospitals, and the Whitehead Institute, created to bring the power of genomics to medicine.</p-->
<script language="javascript">
document.login2.j_username.focus()
</script>
</body>
</html>
"
attr(,"Content-Type")
charset
"text/html" "ISO-8859-1"
You're using the wrong url. To submit the form you have to post to the url specified in the action=... attribute of the <form> element.
library(RCurl)
url <- "http://www.broadinstitute.org/cmap/j_security_check"
params <- list('j_username' = 'username',
'j_password' = 'password')
cmap <- postForm(url, .params=params, style="POST")
library(XML)
doc <- htmlTreeParse(cmap, useInternalNodes=T)
xmlValue(doc["//head/title"][[1]]) # page title
# [1] "login failure"
The login fails of course because I don't know the username and password.
I am trying to figure out how Purdue shows their list of courses. I am examining the source code of the web page, and the closest thing I have found is this:
<!-- ** END OF twbkwbis.P_OpenDoc ** -->
<DIV class="infotextdiv"><TABLE CLASS="infotexttable" SUMMARY="This layout table contains information that may be helpful in understanding the content and functionality of this page. It could be a brief set of instructions, a description of error messages, or other special information."><TR><TD CLASS="indefault"><IMG SRC="/wtlgifs/web_info_cascade.png" ALT="Information" CLASS="headerImg" TITLE="Information" NAME="web_info" HSPACE=0 VSPACE=0 BORDER=0 HEIGHT=12 WIDTH=14></TD><TD CLASS="indefault"><SPAN class="infotext"> Use any combination of selection options to narrow your search for courses. You must choose at least one Subject. When your selection is complete, choose Get Courses to perform the search.</SPAN></TD></TR></TABLE><P></DIV>
<BR>
<FORM ACTION="/prod/bwckctlg.p_display_courses" METHOD="POST">
<INPUT TYPE="hidden" NAME="term_in" VALUE="201320">
<INPUT TYPE="hidden" NAME="sel_subj" VALUE="dummy">
<INPUT TYPE="hidden" NAME="sel_levl" VALUE="dummy">
<INPUT TYPE="hidden" NAME="sel_schd" VALUE="dummy">
<INPUT TYPE="hidden" NAME="sel_coll" VALUE="dummy">
<INPUT TYPE="hidden" NAME="sel_divs" VALUE="dummy">
<INPUT TYPE="hidden" NAME="sel_dept" VALUE="dummy">
<INPUT TYPE="hidden" NAME="sel_attr" VALUE="dummy">
<TABLE CLASS="dataentrytable" SUMMARY="This table is used for input criteria for catalog courses.">
<TR>
<TD CLASS="delabel" scope="row" ><LABEL for=subj_id><SPAN class="fieldlabeltext">Subject: </SPAN></LABEL></TD>
<TD CLASS="dedefault">
<SELECT NAME="sel_subj" SIZE="3" MULTIPLE ID="subj_id">
<OPTION VALUE="AAE">AAE-Aero & Astro Engineering
<OPTION VALUE="AAS">AAS-African American Studies
<OPTION VALUE="ABE">ABE-Agri & Biol Engineering
<OPTION VALUE="ACC">ACC-Accounting
<OPTION VALUE="ACE">ACE-Adult Continuing Education
<OPTION VALUE="ACS">ACS-Applied Computer Science
<OPTION VALUE="AD">AD-Art & Design
<OPTION VALUE="AERO">AERO-Aerospace Study - IU
<OPTION VALUE="AFRO">AFRO-Afro-American Studies
<OPTION VALUE="AFT">AFT-Aerospace Studies
<OPTION VALUE="AGEC">AGEC-Agricultural Economics
<OPTION VALUE="AGR">AGR-Agriculture
<OPTION VALUE="AGRY">AGRY-Agronomy
<OPTION VALUE="AHLT">AHLT-Allied Health Sciences-IU
<OPTION VALUE="AHS">AHS-Art: History
<OPTION VALUE="AMST">AMST-American Studies
<OPTION VALUE="ANAT">ANAT-Anatomy
<OPTION VALUE="ANSC">ANSC-Animal Sciences
<OPTION VALUE="ANTH">ANTH-Anthropology
<OPTION VALUE="ARAB">ARAB-Arabic
<OPTION VALUE="ARET">ARET-Architectural Engr Tech
<OPTION VALUE="ART">ART-Architectural Technology
<OPTION VALUE="AS">AS-Administrative Sciences
<OPTION VALUE="ASAM">ASAM-Asian American Studies
<OPTION VALUE="ASCS">ASCS-Arts &Sci Career Services
<OPTION VALUE="ASIA">ASIA-Asian Studies
<OPTION VALUE="ASL">ASL-American Sign Language
<OPTION VALUE="ASM">ASM-Agricultural Systems Mgmt
<OPTION VALUE="AST">AST-Astronomy - IU
<OPTION VALUE="ASTR">ASTR-Astronomy
<OPTION VALUE="AT">AT-Aviation Technology
<OPTION VALUE="BA">BA-Business Administration
<OPTION VALUE="BAND">BAND-Bands
<OPTION VALUE="BCHM">BCHM-Biochemistry
<OPTION VALUE="BCM">BCM-Bldg Construct Mgmt Tech
<OPTION VALUE="BGR">BGR-Boiler Gold Rush
<OPTION VALUE="BHS">BHS-Behavioral Sciences
<OPTION VALUE="BIOC">BIOC-Biochemistry-IU
<OPTION VALUE="BIOL">BIOL-Biological Sciences
<OPTION VALUE="BIOP">BIOP-Biophysics
<OPTION VALUE="BIOS">BIOS-Biostatistics
<OPTION VALUE="BITN">BITN-Biotechnology
<OPTION VALUE="BME">BME-Biomedical Engineering
<OPTION VALUE="BMET">BMET-Biomedical Elect Tech
<OPTION VALUE="BMS">BMS-Basic Medical Sciences
<OPTION VALUE="BSS">BSS-Behavioral & Social Sci
<OPTION VALUE="BTNY">BTNY-Botany & Plant Pathology
<OPTION VALUE="BUFW">BUFW-Business Fort Wayne - IU
<OPTION VALUE="BUKD">BUKD-Business Kelly Direct
<OPTION VALUE="BUPA">BUPA-Bus-Profess Accountancy
<OPTION VALUE="BUS">BUS-Business
<OPTION VALUE="CAND">CAND-Candidate
<OPTION VALUE="CDFS">CDFS-Child Dev &Family Studies
<OPTION VALUE="CE">CE-Civil Engineering
<OPTION VALUE="CEM">CEM-Construction Engr & Mgmt
<OPTION VALUE="CEMT">CEMT-Constr Engr Mgmt Tech
<OPTION VALUE="CET">CET-Civil Engineering Tech
<OPTION VALUE="CFS">CFS-Consumer & Family Sciences
<OPTION VALUE="CGT">CGT-Computer Graphics Tech
<OPTION VALUE="CHE">CHE-Chemical Engineering
<OPTION VALUE="CHEM">CHEM-Chemistry - IU
<OPTION VALUE="CHHS">CHHS-College of Hlth&Human Srv
<OPTION VALUE="CHM">CHM-Chemistry
<OPTION VALUE="CHNS">CHNS-Chinese
<OPTION VALUE="CIC">CIC Traveling Scholar
<OPTION VALUE="CIMT">CIMT-Computer Integr Mfg Tech
<OPTION VALUE="CIS">CIS-Computer Info Services
<OPTION VALUE="CIT">CIT-Computer & Info Tech-IU
<OPTION VALUE="CJUS">CJUS-Criminal Justice-IU
<OPTION VALUE="CLAS">CLAS-Classical Studies - IU
<OPTION VALUE="CLCS">CLCS-Classics
<OPTION VALUE="CLPH">CLPH-Clinical Pharmacy
<OPTION VALUE="CMCI">CMCI-CIC Common Market
<OPTION VALUE="CMCL">CMCL-Communications & Cultures
<OPTION VALUE="CMET">CMET-Constr Mgmt & Engr Tech
<OPTION VALUE="CMLT">CMLT-Comparative Literature-IU
<OPTION VALUE="CMPL">CMPL-Comparative Literature
<OPTION VALUE="CNET">CNET-Construction Engr Tech
<OPTION VALUE="CNIT">CNIT-Computer & Info Tech
<OPTION VALUE="CNT">CNT-Construction Technology
<OPTION VALUE="COAS">COAS-College Arts & Sciences
<OPTION VALUE="COGS">COGS-Cognitive Science
<OPTION VALUE="COLL">COLL-College of Arts & Science
<OPTION VALUE="COM">COM-Communication
<OPTION VALUE="COMM">COMM-Communication - IU
<OPTION VALUE="CPB">CPB-Comparative Pathobiology
<OPTION VALUE="CPET">CPET-Computer Engineering Tech
<OPTION VALUE="CPSY">CPSY-Counseling Psychology
<OPTION VALUE="CRJU">CRJU-Criminal Justice-IU
<OPTION VALUE="CS">CS-Computer Sciences
<OPTION VALUE="CSCI">CSCI-Computer Science - IU
<OPTION VALUE="CSD">CSD-Communic Sci & Disorders
<OPTION VALUE="CSR">CSR-Consumer ScI & Retailing
<OPTION VALUE="DANC">DANC-Dance
<OPTION VALUE="DAST">DAST-Dental Assisting
<OPTION VALUE="DHYG">DHYG-Dental Hygiene
<OPTION VALUE="DLTP">DLTP-Dental Lab Tech
<OPTION VALUE="DPIS">DPIS-Data Proc & Info
<OPTION VALUE="EALC">EALC-East Asian Lang & Cult
<OPTION VALUE="EAS">EAS-Earth & Atmospheric Sci
<OPTION VALUE="ECE">ECE-Electrical & Computer Engr
<OPTION VALUE="ECET">ECET-Electrical&Comp Engr Tech
<OPTION VALUE="ECON">ECON-Economics
<OPTION VALUE="EDCI">EDCI-Educ-Curric & Instruction
<OPTION VALUE="EDFA">EDFA-Foundations & Admin
<OPTION VALUE="EDHI">EDHI-Education Higher
<OPTION VALUE="EDPS">EDPS-Educ-Ed'l and Psy Studies
<OPTION VALUE="EDST">EDST-Ed Leadrship&Cultrl Fnd
<OPTION VALUE="EDUA">EDUA-Education Admin- IU
<OPTION VALUE="EDUC">EDUC-Education - IU
<OPTION VALUE="EEE">EEE-Environ & Ecological Engr
<OPTION VALUE="EEN">EEN - Energy Engineering
<OPTION VALUE="EMER">EMER-Emergency Medical Service
<OPTION VALUE="EN">EN-English - IU
<OPTION VALUE="ENE">ENE-Engineering Education
<OPTION VALUE="ENG">ENG-English - IU
<OPTION VALUE="ENGL">ENGL-English
<OPTION VALUE="ENGR">ENGR-First Year Engineering
<OPTION VALUE="ENTM">ENTM-Entomology
<OPTION VALUE="ENTR">ENTR-Entrepreneurship
<OPTION VALUE="EPCS">EPCS-Engr Proj Cmity Service
<OPTION VALUE="EQU">EQU-Equine Management
<OPTION VALUE="ESC">ESC-Engineering Sciences
<OPTION VALUE="ET">ET-Electrical Technology
<OPTION VALUE="ETCS">ETCS-Engr Tech & Computer Sci
<OPTION VALUE="ETHN">ETHN-Ethnic Studies
<OPTION VALUE="FCSM">FCSM-Fam Cons Sci:Merchandise
<OPTION VALUE="FILM">FILM-Film Studies
<OPTION VALUE="FINA">FINA-Fine Arts - IU
<OPTION VALUE="FIS">FIS-Forensic & Investig Sci
<OPTION VALUE="FLAC">FLAC-Foreign Lang & Cult-IU
<OPTION VALUE="FLL">FLL-Foreign Lang & Literatures
<OPTION VALUE="FLLC">FLLC-Foster Intl Liv/Learn Ctr
<OPTION VALUE="FM">FM-Fitness Management
<OPTION VALUE="FN">FN-Foods And Nutrition
<OPTION VALUE="FNR">FNR-Forestry&Natural Resources
<OPTION VALUE="FOLK">FOLK-Folklore
<OPTION VALUE="FR">FR-French
<OPTION VALUE="FREN">FREN-French - IU
<OPTION VALUE="FRST">FRST-Foreign Study
<OPTION VALUE="FS">FS-Food Science
<OPTION VALUE="FVS">FVS-Film And Video Studies
<OPTION VALUE="FWAI">FWAI-Ft Wayne Are Inst - IU
<OPTION VALUE="FWAS">FWAS - Arts And Sciences-FW
<OPTION VALUE="GBA">GBA-Business-Accounting
<OPTION VALUE="GBG">GBG-Business-General
<OPTION VALUE="GBH">GBH-General Business Health
<OPTION VALUE="GBI">GBI-Business-International
<OPTION VALUE="GBM">GBM-Business-Marketing
<OPTION VALUE="GEOG">GEOG-Geography
<OPTION VALUE="GEOL">GEOL-Geology
<OPTION VALUE="GEP">GEP-Global Engineering Program
<OPTION VALUE="GER">GER-German
<OPTION VALUE="GERN">GERN-Gerontology
<OPTION VALUE="GNC">GNC-Community College
<OPTION VALUE="GNS">GNS-Community College
<OPTION VALUE="GRAD">GRAD-Graduate Studies
<OPTION VALUE="GREK">GREK-Greek
<OPTION VALUE="GS">GS-General Studies
<OPTION VALUE="HDFS">HDFS-Human Dev &Family Studies
<OPTION VALUE="HEBR">HEBR-Hebrew
<OPTION VALUE="HER">HER-Herron Art
<OPTION VALUE="HHS">HHS-College Health & Human Sci
<OPTION VALUE="HIA">HIA-Health Info Administration
<OPTION VALUE="HIST">HIST-History
<OPTION VALUE="HK">HK-Health And Kinesiology
<OPTION VALUE="HON">HON-Honors - IU
<OPTION VALUE="HONR">HONR-Honors
<OPTION VALUE="HORT">HORT-Horticulture
<OPTION VALUE="HPER">HPER-Health Physical Ed &Recr
<OPTION VALUE="HPSC">HPSC-History & Phil Of Science
<OPTION VALUE="HSC">HSC-Health Sciences-IU
<OPTION VALUE="HSCI">HSCI-Health Sciences
<OPTION VALUE="HSRV">HSRV-Human Services
<OPTION VALUE="HTM">HTM-Hospitality & Tourism Mgmt
<OPTION VALUE="HUMA">HUMA-Humanities - General
<OPTION VALUE="IDE">IDE-Interdisciplinary Engr
<OPTION VALUE="IDIS">IDIS-Interdisciplinary Studies
<OPTION VALUE="IE">IE-Industrial Engineering
<OPTION VALUE="IET">IET-Industrial Engr Technology
<OPTION VALUE="IIM">IIM-Integrated Info Mgmt-IU
<OPTION VALUE="ILCS">ILCS-Intl Lang&Culture Studies
<OPTION VALUE="IM">IM-Informatics
<OPTION VALUE="INFO">INFO-Informatics -IU
<OPTION VALUE="INST">INST-India Studies-IU
<OPTION VALUE="INTG">INTG-Integrated Studies
<OPTION VALUE="INTL">INTL-International
<OPTION VALUE="INTR">INTR-Interior Design-IU
<OPTION VALUE="IPPH">IPPH-Industrial & Phys Pharm
<OPTION VALUE="IST">IST-Information Systems&Tech
<OPTION VALUE="IT">IT-Industrial Technology
<OPTION VALUE="ITAL">ITAL-Italian
<OPTION VALUE="ITC">ITC-Information Tech&Computers
<OPTION VALUE="ITCS">ITCS-Indust & Tech:Constr Tech
<OPTION VALUE="ITS">ITS-Information Tech Systems
<OPTION VALUE="JOUR">JOUR-Journalism
<OPTION VALUE="JPNS">JPNS-Japanese
<OPTION VALUE="JWST">JWST-Jewish Studies
<OPTION VALUE="KINS">KINS-Kinsey Institute
<OPTION VALUE="LA">LA-Landscape Architecture
<OPTION VALUE="LALS">LALS-Latina Am&Latino Studies
<OPTION VALUE="LAS">LAS-Latin American Studies
<OPTION VALUE="LATN">LATN-Latin
<OPTION VALUE="LAW">LAW-Law
<OPTION VALUE="LBST">LBST-Liberal Studies
<OPTION VALUE="LC">LC-Languages and Cultures
<OPTION VALUE="LCME">LCME-Lafayette Center Med Educ
<OPTION VALUE="LGBT">LGBT-Lesb,Gay, Bisex&Transgndr
<OPTION VALUE="LING">LING-Linguistics
<OPTION VALUE="LS">LS-Land Surveying
<OPTION VALUE="LSTU">LSTU-Labor Studies
<OPTION VALUE="LTHN">LTHN-Lithuanian
<OPTION VALUE="MA">MA-Mathematics
<OPTION VALUE="MARS">MARS-Medieval &Renaissance Std
<OPTION VALUE="MATH">MATH-Mathematics
<OPTION VALUE="MCMP">MCMP-Med Chem &Molecular Pharm
<OPTION VALUE="ME">ME-Mechanical Engineering
<OPTION VALUE="MED">MED-Medicine
<OPTION VALUE="MEST">MEST-Medieval Studies-IU
<OPTION VALUE="MET">MET-Mechanical Engr Tech
<OPTION VALUE="MFET">MFET-Manufacturing Engr Tech
<OPTION VALUE="MGEN">MGEN-Medical Genetics
<OPTION VALUE="MGMT">MGMT-Management
<OPTION VALUE="MHHS">MHHS-Med Humanities & Hlth Sci
<OPTION VALUE="MICR">MICR-Microbiology
<OPTION VALUE="MIL">MIL-Military - IU
<OPTION VALUE="MIS">MIS-Management Info Systems
<OPTION VALUE="MNEU">MNEU-Medical Neurobiology - IU
<OPTION VALUE="MSCI">MSCI-Medical Sciences
<OPTION VALUE="MSE">MSE-Materials Engineering
<OPTION VALUE="MSL">MSL-Military Science & Ldrshp
<OPTION VALUE="MSPT">MSPT - Motorsports Studies
<OPTION VALUE="MSTD">MSTD-Museum Studies
<OPTION VALUE="MT">MT-Mathematics-Butler
<OPTION VALUE="MUS">MUS-Music History & Theory
<OPTION VALUE="NELC">NELC-Near Eastern Lang
<OPTION VALUE="NEWM">NEWM-New Media
<OPTION VALUE="NMCM">NMCM-New Media Communication
<OPTION VALUE="NRES">NRES-Natural Res & Environ Sci
<OPTION VALUE="NS">NS-Naval Science
<OPTION VALUE="NUCL">NUCL-Nuclear Engineering
<OPTION VALUE="NUPH">NUPH-Nuclear Pharmacy
<OPTION VALUE="NUR">NUR-Nursing
<OPTION VALUE="NURS">NURS-Nursing - IU
<OPTION VALUE="NUTR">NUTR-Nutrition Science
<OPTION VALUE="OBHR">OBHR-Orgnztnl Bhvr &Hum Resrce
<OPTION VALUE="OLS">OLS-Organiz Ldrshp&Supervision
<OPTION VALUE="OVST">OVST-Overseas Studies
<OPTION VALUE="PACS">PACS-Peace & Conflict Studies
<OPTION VALUE="PATH">PATH-Pathology
<OPTION VALUE="PBHL">PBHL-Public Health
<OPTION VALUE="PCTX">PCTX-Pharmacology & Toxicology
<OPTION VALUE="PES">PES-Physical Education Skills
<OPTION VALUE="PHAD">PHAD-Pharmacy Administration
<OPTION VALUE="PHAR">PHAR-Pharmacology - IU
<OPTION VALUE="PHIL">PHIL-Philosophy
<OPTION VALUE="PHPR">PHPR-Pharmacy Practice
<OPTION VALUE="PHRM">PHRM-Pharmacy
<OPTION VALUE="PHSL">PHSL-Physiology
<OPTION VALUE="PHST">PHST-Philanthropic Studies
<OPTION VALUE="PHYS">PHYS-Physics
<OPTION VALUE="PLSC">PLSC-Plant Sciences
<OPTION VALUE="PLSH">PLSH-Polish
<OPTION VALUE="POL">POL-Political Science
<OPTION VALUE="POLS">POLS-Political Science - IU
<OPTION VALUE="PPE">PPE-Professional Practice-Engr
<OPTION VALUE="PPOL">PPOL-Public Policy
<OPTION VALUE="PPT">PPT-Professional Practice-Tech
<OPTION VALUE="PSY">PSY-Psychology
<OPTION VALUE="PSYI">PSYI-Psychology -IU
<OPTION VALUE="PTGS">PTGS-Portuguese
<OPTION VALUE="PULM">PULM-Pulmonary&Crit Care Med
<OPTION VALUE="RADI">RADI-Radiology
<OPTION VALUE="RADX">RADX-Radiologic Science
<OPTION VALUE="RECR">RECR-Recreation Leadership
<OPTION VALUE="REG">REG-Reg File Maintenance
<OPTION VALUE="REL">REL-Religious Studies
<OPTION VALUE="RUSS">RUSS-Russian
<OPTION VALUE="SA">SA-Study Abroad
<OPTION VALUE="SCI">SCI-General Science
<OPTION VALUE="SE">SE-Systems Engineering
<OPTION VALUE="SERV">SERV-Service Learning
<OPTION VALUE="SHRS">SHRS-Schl of Health&Rehab Sci
<OPTION VALUE="SLA">SLA-School of Liberal Arts
<OPTION VALUE="SLAV">SLAV-Slavic Lang & Lit
<OPTION VALUE="SLHS">SLHS-Speech, Lang&Hear Science
<OPTION VALUE="SLIS">SLIS-Lib & Info Science
<OPTION VALUE="SOC">SOC-Sociology
<OPTION VALUE="SPAN">SPAN-Spanish
<OPTION VALUE="SPCH">SPCH-Speech - IU
<OPTION VALUE="SPEA">SPEA-Public & Environ Affairs
<OPTION VALUE="SRCT">SRCT-Serbo-Croatian
<OPTION VALUE="STAR">STAR-Summer Trans Advis & Reg
<OPTION VALUE="STAT">STAT-Statistics
<OPTION VALUE="SUPV">SUPV-Supervision - IU
<OPTION VALUE="SWAH">SWAH-Swahili
<OPTION VALUE="SWK">SWK-Social Work-IU
<OPTION VALUE="SWRK">SWRK-Social Work
<OPTION VALUE="TCEM">TCEM-Tour Conventns&Event Mgmt
<OPTION VALUE="TCM">TCM-Technical Communications
<OPTION VALUE="TCOM">TCOM-Communications Gts - IU
<OPTION VALUE="TECH">TECH-Technology
<OPTION VALUE="TEL">TEL-Telecommunications - IU
<OPTION VALUE="THTR">THTR-Theatre
<OPTION VALUE="TLI">TLI-Technology Ldrshp Innovatn
<OPTION VALUE="UCOL">UCOL-University College -IU
<OPTION VALUE="URDU">URDU-Urdu
<OPTION VALUE="USP">USP-Undergrad Studies Prog
<OPTION VALUE="VCD">VCD-Visual Comm & Design
<OPTION VALUE="VCS">VCS-Veterinary Clinical Sci
<OPTION VALUE="VM">VM-Veterinary Medicine
<OPTION VALUE="WLAC">WLAC-World Languages&Culture
<OPTION VALUE="WOST">WOST-Women's Studies
<OPTION VALUE="YDAE">YDAE-Youth Develop & Ag Educ
<OPTION VALUE="ZOOL">ZOOL-Zoology
</SELECT>
</TD>
</TR>
<TR>
I deleted a lot of the html code from the above to save space as it was redundant. To see all of it, you can goto the link I provided at the bottom of this post. I am not very familiar with web development languages, but I am trying to find a way to replicate this search so I can make an iPhone app that will send a POST to the website with the specified fields filled in. For example:
<FORM ACTION="/prod/bwckctlg.p_display_courses" METHOD="POST">
<INPUT TYPE="hidden" NAME="term_in" VALUE="201320">
<INPUT TYPE="hidden" NAME="sel_subj" VALUE="CS">
This should show me a list of CS courses at Purdue for the 2013 term. How do I send this to the web browser to execute? Is there a way I can construct a link out of this and paste it into my web browser to show me? I am sorry if this is a confusing question, if you don't understand what I am referring to, please goto the Purdue website yourself and select Spring 2013, then click a class type and hit search. The URL doesn't change to anything useful, but the proper data(classes) is shown on the webpage. I am wondering how to replicate this so I can use it in my iPhone app I am trying to make. For simplicities sake I am trying to replicate this in my web browser first.
Here is the link to the website I am referring to:
Purdue
Just make a file, index.html and save it to your desktop or something. Inside, just have:
<FORM ACTION="https://selfservice.mypurdue.purdue.edu/prod/bwckctlg.p_display_courses" METHOD="POST">
<INPUT TYPE="hidden" NAME="term_in" VALUE="201320">
<INPUT TYPE="hidden" NAME="sel_subj" VALUE="CS">
<INPUT TYPE="submit">
</FORM>
Then open it in your browser and click submit.
Incidentally, it looks like they may have secured their website to not allow posting to this page externally, so you may be out of luck.
Since the form is using POST method the URL does not contain any helpful information
It should be as simple as this:
<FORM ACTION="https://selfservice.mypurdue.purdue.edu/prod/bwckctlg.p_display_courses" METHOD="POST">
<INPUT TYPE="hidden" NAME="term_in" VALUE="201320">
<INPUT TYPE="hidden" NAME="sel_subj" VALUE="CS"></FORM>
at the moment I use "www.aspnettooltip.com" as my asp.net tooltip.
Feature I need: Complete control how it is displayed (Content-System).
At the moment I can use this:
<ASPNetToolTip:ToolTip ID="ToolTip1" runat="server" ControlToToolTip="imgHelp2">
<ToolTipContentTemplate>
<div class="divToolTip">
Tragen Sie hier bitte "Suchworte" ein mit denen
Sie gefunden werden möchten. Z.B.: Wenn Sie ein Friseur
sind: Haare schneiden, Haare färben, Ihren Firmennamen
<br />
<br />
Sie müssen mindestens 1 und können maximal 6 Suchwörter eingeben.
</div>
</ToolTipContentTemplate>
</ASPNetToolTip:ToolTip>
Is there a similiar control which is free?
Use JQuery .