![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
赤い靴 call me 202-456-1111
Industry Role:
Join Date: Feb 2001
Location: The Valley
Posts: 14,831
|
RSS question regarding <pubDate>
I'm not sure I'm understanding the <pubDate> tags in RSS. Is there an actual code that you insert between the tags to get the date? Do you just leave it blank and the date is inserted there when the document is published?
Is it like in javascript where you create a code like <? print date("F d, Y H:i:s", time())?> and then it posts the time when the doc is published? Kinda confused. Does anyone know? Thanks.
__________________
SPECIALTY COSTUMES • PROPS • FX Superheroes • Monsters • Robots PM for details For any manufacturing needs. Adult or otherwise. aka BonsHigh on Insta Bonsai weed plants |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 | |
Now choke yourself!
Industry Role:
Join Date: Apr 2006
Posts: 12,085
|
You could do that, almost just like that in PHP, yes.
Quote:
__________________
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
FBOP Class Of 2013
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
|
not sure if this helps or not, but here ya go
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Industry Role:
Join Date: Sep 2002
Location: San Francisco, California
Posts: 991
|
Are you trying to create software that will write an RSS feed or just manually creating an RSS feed? You can manually edit this date or have your feed creation software add it.
I think that feed readers use it to download new content and or updated items. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
赤い靴 call me 202-456-1111
Industry Role:
Join Date: Feb 2001
Location: The Valley
Posts: 14,831
|
What I'm looking for is the actual code that gets inserted between the pubdate tags that will generate an actual date upon publication.
What I have is an evem more powerful templating system (one that is far too complicated for to get into here) It's taken me years to master and I want to be able to use this system to build RSS feeds. Which it can do, but I don't think it can insert a date, so I'll need to actually build the a timestamp code to go on the template so that every time it runs, the new content will get added into it and a date will get stamped into the proper area.
__________________
SPECIALTY COSTUMES • PROPS • FX Superheroes • Monsters • Robots PM for details For any manufacturing needs. Adult or otherwise. aka BonsHigh on Insta Bonsai weed plants |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Confirmed User
Join Date: Apr 2006
Location: Easy Webcam Pro
Posts: 1,213
|
Quote:
Oh, and shhhhhhhhhhhhhhhhh.
__________________
[email protected] |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
赤い靴 call me 202-456-1111
Industry Role:
Join Date: Feb 2001
Location: The Valley
Posts: 14,831
|
Quote:
__________________
SPECIALTY COSTUMES • PROPS • FX Superheroes • Monsters • Robots PM for details For any manufacturing needs. Adult or otherwise. aka BonsHigh on Insta Bonsai weed plants |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
赤い靴 call me 202-456-1111
Industry Role:
Join Date: Feb 2001
Location: The Valley
Posts: 14,831
|
let timestamp_regexp = '\v\C%(<Last %([cC]hanged?|[Mm]odified):\s+)@<=.*$'
<variable name="aVariable3" expr=":timestamp.hour"/> xjvf timestamp.tbz2 Am I close?
__________________
SPECIALTY COSTUMES • PROPS • FX Superheroes • Monsters • Robots PM for details For any manufacturing needs. Adult or otherwise. aka BonsHigh on Insta Bonsai weed plants |
![]() |
![]() ![]() ![]() ![]() ![]() |