LampCMS development and php tips

Announcements and articles about this site development and stuff like that

Sat, 05 Dec 2009 12:03:22 -0600
Show some basic email list user data to all
and detailed data to logged in users:

GeoData of recent 'n' posts,

recent 'n' posts,

useragent data (if available)

Email lists in which user posts.

We can also keep track on various person names ...
 
0

Wed, 02 Dec 2009 08:52:43 -0600
For making blog and blog replies work like a newsgroup
we need to add amd maintain value of 'references' field
in the MESSAGES table

this is because the nntp message has to have 'references' field in order to function properly.

Blog post ...
 
0

Mon, 30 Nov 2009 10:11:52 -0600
Right now we use user's login name as a subdomain for user's blog.
for example webmaster.lampcms.com is a personal blog (more than just a blog, also albums, etc)
of user 'webmaster'

But I am thinking that we should allow user's to pick their ...
 
0

Mon, 30 Nov 2009 09:58:03 -0600
When a user loggs in via Google freind connect we should do this:

Get user's Freind Connect ID - some type of unique ID from GFC website. Not sure yet how this looks, maybe a numeric string, maybe some other type of string, but its unique.

Check ...
 
0

Sun, 29 Nov 2009 20:43:16 -0600
The clsUser and clsProfile are 2 classes that represent data about currently logged in user
These 2 are instantiated (or reset) when user logges in to site.
Actually they are instantiated regardless of user status - logged in or not, they ...
 
0

Sun, 22 Nov 2009 18:47:25 -0600
A resource object (just a general object, usually represents an item from RESOURCE table)
should be of type clsArrayDefaults
and most importantly have a method saveResource()
which will record all the data into Table (usually ...
 
0

Tue, 10 Nov 2009 06:06:31 -0600
Again, parsing rss feed is not always easy.

Recently I needed a 'bullet-proof' class that could parse just about any feed and return the consistent object with items each item must have guid, title, link, body and optionally 'author' and ...
 
0

Tue, 03 Nov 2009 17:44:29 -0600
Many php pages can make use of these headers. For example, if user requests to see a page with a blog post and sends the If-Modified-Since header
and the If-None-Match header (with some Etag value)
we can do this (for example)
get the unix ...
 
0

Tue, 03 Nov 2009 10:23:22 -0600
Another pain in parsing the feed is the xml:base thingy!

It's allowed in Atom feed, especially in Atom 1.0, and in fact many websites make use of this xml:base attribute.

The problem is that xslt processor 1.0 does not support the ...
 
0

Fri, 30 Oct 2009 10:31:08 -0500
Some web servers handle the If-Modified-Since request header incorrectly.
When a web server receives this header it must examine the value of this header and return the page only if the content has been modified since the time specified ...
 
0