forchi
Messages postés33Date d'inscriptionlundi 21 juin 2004StatutMembreDernière intervention24 mai 2008
-
8 août 2007 à 11:58
cs_higgins91
Messages postés11Date d'inscriptionmardi 1 juin 2004StatutMembreDernière intervention30 mai 2008
-
9 août 2007 à 08:49
Cette discussion concerne un article du site. Pour la consulter dans son contexte d'origine, cliquez sur le lien ci-dessous.
cs_higgins91
Messages postés11Date d'inscriptionmardi 1 juin 2004StatutMembreDernière intervention30 mai 2008 9 août 2007 à 08:49
Salut Buzzetcie, en fait le nom de la ville n'est pas en cause, le programme recherche des balises et chaine de caractères pour trouver le nom de la ville à partir du code de l'adresse http.
J'ai refait une mise à jour pour corriger le bug de la mise à jour des prévisions qui était de 16.6 heures au lieu de 10 minutes.
buzzetcie
Messages postés1Date d'inscriptionmardi 12 juin 2007StatutMembreDernière intervention 8 août 2007 8 août 2007 à 18:36
as tu essayer sans mettre des espaces à Saint-martin-la-ville car moi j'ai pas encore essayé avec ce script mais je pense que tu devrai chercher l'erreur de ce côté car cela ressemble de très près à un script météo que j'utilisai auparavant mais la base de donnée ne prenait pas les espaces pour les villes à nom composé, faut soit tout attaché soit mettre des tirets !!
essaye pour voir si c'est ça
forchi
Messages postés33Date d'inscriptionlundi 21 juin 2004StatutMembreDernière intervention24 mai 2008 8 août 2007 à 13:49
"Prévisions ville:" apparait bien (2 fois).
C'est tout.
Je te remets le code complet cette fois:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Meteo France - Prévisions ville: Saint Martin la Plaine</title>
cs_higgins91
Messages postés11Date d'inscriptionmardi 1 juin 2004StatutMembreDernière intervention30 mai 2008 8 août 2007 à 13:33
je pense que tout le texte n'est pas passé,
lors de la mise à jour, je recherche les mots:
"Prévisions ville:"
"Prévision pour le "
"Lever"
" Heure locale :</td>"
peux tu regarder si ils sont présent?(notamment le deuxième)
forchi
Messages postés33Date d'inscriptionlundi 21 juin 2004StatutMembreDernière intervention24 mai 2008 8 août 2007 à 13:19
Voila ce qu'il contient:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Meteo France - Prévisions ville: Saint Martin la Plaine</title>
cs_higgins91
Messages postés11Date d'inscriptionmardi 1 juin 2004StatutMembreDernière intervention30 mai 2008 8 août 2007 à 13:05
oui... peux tu lancer l'appli sous VB et regarder ce qu'il y a dans le "textbox" Text1 (il est non visible par défaut)
Si il y a bien du texte (en fait la page HTML) alors c'est un problème de recherche de caractères.
forchi
Messages postés33Date d'inscriptionlundi 21 juin 2004StatutMembreDernière intervention24 mai 2008 8 août 2007 à 12:49
j'ai une livebox mais je ne pense pas qu'elle bloque.
Quand à mon firewall, il est configurer de façon à me signaler s'il bloque un accès.
Ca fonctionne toujours pour toi ?
cs_higgins91
Messages postés11Date d'inscriptionmardi 1 juin 2004StatutMembreDernière intervention30 mai 2008 8 août 2007 à 12:43
bonjour, peux-tu me dire ta config? il faut peut-être configurer le composant inet si tu as un proxy.
higgins
forchi
Messages postés33Date d'inscriptionlundi 21 juin 2004StatutMembreDernière intervention24 mai 2008 8 août 2007 à 11:58
Bonjour, bonne idée mais ne fonctionne pas chez moi donne un forms noir avec les champs textes et images en blanc.
Dommage...
Bonne continuation.
9 août 2007 à 08:49
J'ai refait une mise à jour pour corriger le bug de la mise à jour des prévisions qui était de 16.6 heures au lieu de 10 minutes.
8 août 2007 à 18:36
essaye pour voir si c'est ça
8 août 2007 à 13:49
C'est tout.
Je te remets le code complet cette fois:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Meteo France - Prévisions ville: Saint Martin la Plaine</title>
<META http-equiv= "pragma" content="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<META http-equiv="expires" content="Thu, 12 Jul 2001 10:09:34 GMT">
<meta name="description" content="Prévisions ville">
<meta name="keywords" content="bulletin prévision météo, température, vent, satellite visible, satellite infrarouge">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="/param/fds.css" rel="stylesheet" type="text/css">
<SCRIPT LANGUAGE="JavaScript" SRC="/param/javascript.js" TYPE="text/javascript">
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
function wclose() {top.close();}
function MM_openBrWindow(theURL,winName,features) { //v2.0
fenetre = window.open(theURL,winName,features);
fenetre.focus() ;
}
var echeanceId = '';
var grpId = '';
function changeEcheance(echeance) {
echeanceId=echeance;
}
function changeGrp(grp) {
grpId=grp;
}
</SCRIPT>
</head>
<SCRIPT LANGUAGE="JavaScript" SRC="/param/javascript.js" TYPE="text/javascript">
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
function sa(txt) {
showAlt(' '+txt+' ',false);
}
function san(txt) {
showAlt(' '+txt+'',false);
}
function ha() {
hideAlt();
}
</SCRIPT>
<script LANGUAGE ="JavaScript" src="/param/entete.js">
</script>,
<table border="0" cellpadding="0" cellspacing="0" width="180">----
----, </td>
<form method=\"POST\" action=\"/FR/actus/result.jsp\">
,
,
</form>
,
----
<table border="0" cellpadding="0" cellspacing="0" width="100%">
----, </td>
</td>
</tr>
<tr>
<td height="70" valign="bottom" colspan="4">
<!-- ////////////////////////////////// UTILISATEUR NON IDENTIFIE /////////////////////////////////////// -->
<form name=\"formulaireLogin\" action=\"/FR/souscription/verifLogin.jsp\" method=\"post\">
----
,
<table border="0" cellpadding="0" cellspacing="0" width="100%">
----, <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">
----
</td>
<td class="txt11" align="right" valign="middle">
</td>
<td align="right" valign="middle"> </td>
</tr>
</tbody></table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr>
<td align="left"><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr>
<td></td>
</tr>
8 août 2007 à 13:33
lors de la mise à jour, je recherche les mots:
"Prévisions ville:"
"Prévision pour le "
"Lever"
" Heure locale :</td>"
peux tu regarder si ils sont présent?(notamment le deuxième)
8 août 2007 à 13:19
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Meteo France - Prévisions ville: Saint Martin la Plaine</title>
<META http-equiv= "pragma" content="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<META http-equiv="expires" content="Thu, 12 Jul 2001 10:09:34 GMT">
<meta name="description" content="Prévisions ville">
<meta name="keywords" content="bulletin prévision météo, température, vent, satellite visible, satellite infrarouge">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="/param/fds.css" rel="stylesheet" type="text/css">
<SCRIPT LANGUAGE="JavaScript" SRC="/param/javascript.js" TYPE="text/javascript">
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
function wclose() {top.close();}
function MM_openBrWindow(theURL,winName,features) { //v2.0
fenetre = window.open(theURL,winName,features);
fenetre.focus() ;
}
var echeanceId = '';
var grpId = '';
function changeEcheance(echeance) {
echeanceId=echeance;
}
function changeGrp(grp) {
grpId=grp;
}
</SCRIPT>
</head>
<SCRIPT LANGUAGE="JavaScript" SRC="/param/javascript.js" TYPE="text/javascript">
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
function sa(txt) {
showAlt(' '+txt+' ',false);
}
function san(txt) {
showAlt(' '+txt+'',false);
}
function ha() {
hideAlt();
}
</SCRIPT>
<script LANGUAGE ="JavaScript" src= "/param/entete.js">
</script>,
<table border="0" cellpadding="0" cellspacing="0" width="180">----
----, </td>
<form method=\"POST\" action=\"/FR/actus/result.jsp\">
,
,
</form>
,
----
<table border="0" cellpadding="0" cellspacing="0" width="100%">
----, </td>
</td>
</tr>
<tr>
<td height="70" valign="bottom" colspan="4">
<!-- ////////////////////////////////// UTILISATEUR NON IDENTIFIE /////////////////////////////////////// -->
<form name=\"formulaireLogin\" action=\"/FR/souscription/verifLogin.jsp\" method=\"post\">
----
,
<table border="0" cellpadding="0" cellspacing="0" width="100%">
----, <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">
----
</td>
<td class="txt11" align="right" valign="middle">
</td>
<td align="right" valign="middle"> </td>
</tr>
</tbody></table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
----, </td>
</td>
<td align ="center" width="70"><input name"imageField2" ty
8 août 2007 à 13:05
Si il y a bien du texte (en fait la page HTML) alors c'est un problème de recherche de caractères.
8 août 2007 à 12:49
Quand à mon firewall, il est configurer de façon à me signaler s'il bloque un accès.
Ca fonctionne toujours pour toi ?
8 août 2007 à 12:43
higgins
8 août 2007 à 11:58
Dommage...
Bonne continuation.