FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
processing-docs/templates/rss.php at master · processing/processing-docs · GitHub
processing
processing-docs
Repository navigation
Code
Issues
3
(3)
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
processing-docs
/
templates
/
rss.php
Copy path
More file actions
More file actions
Latest commit
History
History
History
34 lines (29 loc) · 567 Bytes
Breadcrumbs
processing-docs
/
templates
/
rss.php
Copy path
File metadata and controls
34 lines (29 loc) · 567 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php
class
RSS_feed
{
var
$
xml
;
var
$
title
;
var
$
description
;
var
$
buildDate
;
var
$
items
;
var
$
attributes
=
array
(
'
title
'
,
'
description
'
,
'
buildDate
'
,
'
items
'
);
function
RSS_feed
(
$
title
,
$
description
)
{
$
this
->
xml
=
new
xhtml_page
(
TEMPLATEDIR
.
'
rss.xml
'
);
$
this
->
title
=
$
title
;
$
this
->
description
=
$
description
;
$
this
->
buildDate
=
date
(
'
r
'
);
}
function
set_items
(
$
items
)
{
$
this
->
items
=
$
items
;
}
function
out
()
{
foreach
(
$
this
->
attributes
as
$
key
) {
$
this
->
xml
->
set
(
$
key
,
$
this
->
$
key
);
}
return
$
this
->
xml
->
out
();
}
}
?>
Back
|
FazBrowse Home
|
New Git URL