par
BeRoots » 19 mai 2007, 14:40
ok j'ai fait un petit tour de mon pc et j'ai trouver deux fichier que j'ai edité:
un .rdf:
Code : Tout sélectionner
<?xml version="1.0"?>
<!DOCTYPE RDF SYSTEM "chrome://messenger-newsblog/locale/am-newsblog.dtd">
<RDF:RDF
xmlns:NC="http://home.netscape.com/NC-rdf#"
xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<RDF:Description about="NC:ispinfo">
<NC:providers>
<NC:nsIMsgAccount about="newsblog">
<!-- server info -->
<NC:incomingServer>
<NC:nsIMsgIncomingServer>
<NC:hostName>&rss.hostName;</NC:hostName>
<NC:type>rss</NC:type>
<NC:biffMinutes>100</NC:biffMinutes>
<NC:username>nobody</NC:username>
</NC:nsIMsgIncomingServer>
</NC:incomingServer>
<!-- identity defaults -->
<NC:identity>
<NC:nsIMsgIdentity>
</NC:nsIMsgIdentity>
</NC:identity>
<NC:wizardAutoGenerateUniqueHostname>true</NC:wizardAutoGenerateUniqueHostname>
<NC:wizardHideIncoming>true</NC:wizardHideIncoming>
<NC:wizardAccountName>&rss.accountName;</NC:wizardAccountName>
<NC:wizardSkipPanels>identitypage,serverpage,loginpage</NC:wizardSkipPanels>
<NC:wizardShortName>&rss.wizardShortName;</NC:wizardShortName>
<NC:wizardLongName>&rss.wizardLongName;</NC:wizardLongName>
<NC:wizardShow>true</NC:wizardShow>
<NC:emailProviderName>RSS</NC:emailProviderName>
<NC:showServerDetailsOnWizardSummary>false</NC:showServerDetailsOnWizardSummary>
</NC:nsIMsgAccount>
</NC:providers>
</RDF:Description>
</RDF:RDF>
un autre .dat:
Code : Tout sélectionner
version="8"
logging="no"
name="People I Know"
enabled="yes"
type="1"
condition="AND (from,is in ab,moz-abmdbdirectory://abook.mab)"
name="Recent Mail"
enabled="yes"
type="1"
condition="AND (age in days,is less than,1)"
name="Last 5 Days"
enabled="yes"
type="1"
condition="AND (age in days,is less than,5)"
name="Not Junk"
enabled="yes"
type="1"
condition="AND (junk status,isn't,2)"
name="Has Attachments"
enabled="yes"
type="1"
condition="AND (has attachment status,is,true)"
on dirai que le code utilisé pour les rdf est du XLM alors que pour le .dat on definit uniquement des variables
donc je suppose que si je veux faire un .dat pour mes mentions meta, je doit faire ainsi:
Code : Tout sélectionner
profil_categorie1=" <meta http-equiv="expires" content="0" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />"
profil_categorie2=" <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15" />
<meta http-equiv="Content-Style-Type" content="text/css" />
"
quand penser vous?
ok j'ai fait un petit tour de mon pc et j'ai trouver deux fichier que j'ai edité:
un .rdf:
[code]<?xml version="1.0"?>
<!DOCTYPE RDF SYSTEM "chrome://messenger-newsblog/locale/am-newsblog.dtd">
<RDF:RDF
xmlns:NC="http://home.netscape.com/NC-rdf#"
xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<RDF:Description about="NC:ispinfo">
<NC:providers>
<NC:nsIMsgAccount about="newsblog">
<!-- server info -->
<NC:incomingServer>
<NC:nsIMsgIncomingServer>
<NC:hostName>&rss.hostName;</NC:hostName>
<NC:type>rss</NC:type>
<NC:biffMinutes>100</NC:biffMinutes>
<NC:username>nobody</NC:username>
</NC:nsIMsgIncomingServer>
</NC:incomingServer>
<!-- identity defaults -->
<NC:identity>
<NC:nsIMsgIdentity>
</NC:nsIMsgIdentity>
</NC:identity>
<NC:wizardAutoGenerateUniqueHostname>true</NC:wizardAutoGenerateUniqueHostname>
<NC:wizardHideIncoming>true</NC:wizardHideIncoming>
<NC:wizardAccountName>&rss.accountName;</NC:wizardAccountName>
<NC:wizardSkipPanels>identitypage,serverpage,loginpage</NC:wizardSkipPanels>
<NC:wizardShortName>&rss.wizardShortName;</NC:wizardShortName>
<NC:wizardLongName>&rss.wizardLongName;</NC:wizardLongName>
<NC:wizardShow>true</NC:wizardShow>
<NC:emailProviderName>RSS</NC:emailProviderName>
<NC:showServerDetailsOnWizardSummary>false</NC:showServerDetailsOnWizardSummary>
</NC:nsIMsgAccount>
</NC:providers>
</RDF:Description>
</RDF:RDF>
[/code]
un autre .dat:
[code]version="8"
logging="no"
name="People I Know"
enabled="yes"
type="1"
condition="AND (from,is in ab,moz-abmdbdirectory://abook.mab)"
name="Recent Mail"
enabled="yes"
type="1"
condition="AND (age in days,is less than,1)"
name="Last 5 Days"
enabled="yes"
type="1"
condition="AND (age in days,is less than,5)"
name="Not Junk"
enabled="yes"
type="1"
condition="AND (junk status,isn't,2)"
name="Has Attachments"
enabled="yes"
type="1"
condition="AND (has attachment status,is,true)"
[/code]
on dirai que le code utilisé pour les rdf est du XLM alors que pour le .dat on definit uniquement des variables :-k
donc je suppose que si je veux faire un .dat pour mes mentions meta, je doit faire ainsi:
[code]profil_categorie1=" <meta http-equiv="expires" content="0" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />"
profil_categorie2=" <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15" />
<meta http-equiv="Content-Style-Type" content="text/css" />
"[/code]
quand penser vous?