ativity rel links went to target instead of object

This commit is contained in:
Friendika 2010-11-04 03:23:09 -07:00
parent 95a425a1f3
commit 8341ce9ce8
2 changed files with 8 additions and 8 deletions

View file

@ -422,7 +422,7 @@ function get_atom_elements($feed,$item) {
if($rawobj[0]['child'][SIMPLEPIE_NAMESPACE_ATOM_10]['id'][0]['data'])
$res['object'] .= '<id>' . $rawobj[0]['child'][SIMPLEPIE_NAMESPACE_ATOM_10]['id'][0]['data'] . '</id>' . "\n";
if($rawobj[0]['child'][SIMPLEPIE_NAMESPACE_ATOM_10]['link'])
$res['target'] .= '<link>' . encode_rel_links($rawobj[0]['child'][SIMPLEPIE_NAMESPACE_ATOM_10]['link']) . '</link>' . "\n";
$res['object'] .= '<link>' . encode_rel_links($rawobj[0]['child'][SIMPLEPIE_NAMESPACE_ATOM_10]['link']) . '</link>' . "\n";
if($rawobj[0]['child'][SIMPLEPIE_NAMESPACE_ATOM_10]['title'][0]['data'])
$res['object'] .= '<title>' . $rawobj[0]['child'][SIMPLEPIE_NAMESPACE_ATOM_10]['title'][0]['data'] . '</title>' . "\n";
if($rawobj[0]['child'][SIMPLEPIE_NAMESPACE_ATOM_10]['content'][0]['data']) {

View file

@ -47,13 +47,13 @@ img {
border: none;
}
code {
font-family: monospace;
font-family: Courier, monospace;
white-space: pre;
display: block;
overflow: auto;
border: 1;
background: #000000;
color: #44FF44;
border: 1px solid #444;
background: #EEE;
color: #444;
padding: 10px;
margin-top: 20px;
}
@ -124,10 +124,10 @@ blockquote:before {
color: #F5F6FB;
font-family: "lucida sans", verdana, sans;
/* font-family: "lucida sans", verdana, sans; */
font-size: 1.8em;
letter-spacing: 0.08em;
font-weight: bold;
letter-spacing: 0.12em;
/* font-weight: bold; */
position: absolute;
top: 10px;
left: 40%;