Home » Archive

Articles Archive for décembre 2003

Uncategorized »

[10 déc 2003 | No Comment | ]

As Matthias wrote to notify me about a tiny syntax issue. I immediately fixed it. So I am proud to say that the compliancy of my site has been increased !
I was using <style type=”text/css” title=”layout” media=”Screen“> instead of <style type=”text/css” title=”layout” media=”screen“>

Uncategorized »

[8 déc 2003 | No Comment | ]

Pure CSS to display the calendar! No more need of that “table” thing !
.dayword
{
z-index: 100;
position: absolute;
width: 20px;
text-align: center;
vertical-align: middle;
font-family: Arial;
font-size: xx-small;
font-weight: 900;
background: #6495ED;
color: Black;
}
.daynum
{
z-index: 200;
position: absolute;
width: 20px;
text-align: center;
vertical-align: middle;
color: #000;
font-size: xx-small;
font-style: oblique;
font-weight: 900;
font-family: Arial;
margin: 0px 0px 0px 0px;
}
.day
{
width: 20px;
height: 15px;
text-align: right;
background-color: #F8F8FF;
vertical-align: middle;
float: left;
margin: 0px 0px 0px 0px;
}
.daynow
{
background-color: #1E90FF;
color: white;
}
.week
{
text-align: center;
clear: both;
}
.month {
background-color: #4682B4;
vertical-align: middle;
text-align: center;
font-size: 12px;
margin: 0px 0px 0px 0px;
width: 150px;
}
.cal
{
width: 150px;
background-color: #F8F8FF;
}
Drop me a line to have the PHP code hacked.

Uncategorized »

[2 déc 2003 | No Comment | ]

A small little tiny hack very useful if you want to use RSS / RDF news feeding.
This work based on the “MagpieRSS” RSS/RDF processor. I just create a small interface for WP.
Several functions are already ready :

Show all RSS news from the RSS table (only title) : ShowAllRss($MaxRss=10)
Show one RSS News from the RSS Table (only title) : ShowRSS($RssID=1,$MaxRss=10)
View all RSS news from the RSS table (title + Description) : ViewAllRSS($MaxRss=10)
View one RSS news from the RSS table (title + Description) : ViewRSSEntry($RssID=1, $MaxRss=10) …