disinclined.org
/
git
/
dylansserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
s/dylansserver/disinclined/g, should really be parametized
[dylansserver.git]
/
model
/
rss.php
diff --git
a/model/rss.php
b/model/rss.php
index
a169ead
..
9fa7b49
100644
(file)
--- a/
model/rss.php
+++ b/
model/rss.php
@@
-14,7
+14,7
@@
class rss extends model {
FROM notes ORDER BY date_posted DESC
LIMIT 5");
while ($entry = $result->fetch_object()) {
FROM notes ORDER BY date_posted DESC
LIMIT 5");
while ($entry = $result->fetch_object()) {
- $entry->url = "http://d
ylansserver.com
/note/" . $entry->url;
+ $entry->url = "http://d
isinclined.org
/note/" . $entry->url;
$entry->text = strip_tags($entry->text);
$end_of_first_sentence = strpos($entry->text, '.');
if ($end_of_first_sentence) {
$entry->text = strip_tags($entry->text);
$end_of_first_sentence = strpos($entry->text, '.');
if ($end_of_first_sentence) {