Help / The Help Forum

This thread was closed automatically due of a lack of responses over the last month.

Hot Topics

[Official Topic] Justified group pools - Bugs & Feedback
Latest: 2 minutes ago
[Official Topic] Larger image sizes and liquid layout on the photo page
Latest: 16 minutes ago
[Official Topic] Feedback on New Web Uploadr
Latest: 6 hours ago
[Official Topic] Bugs and Issues with New Web Uploadr
Latest: 23 hours ago

 

Current Discussion

how to create multiple flickr accounts?
Latest: 2 minutes ago
Fav, action and share buttons are down again!!!!!!!
Latest: 13 minutes ago
How do I remove a set from a collection?
Latest: 24 minutes ago
bug report: flickr removes space before link in the photo description
Latest: 27 minutes ago
[closed, redirected] How Do I View Most Active People In Flickr Groups
Latest: 32 minutes ago
[closed, redirected to groups thread] Quit Changing Things!
Latest: 36 minutes ago
Downloading original Photo file
Latest: 38 minutes ago
Creative Commons free commercial use + Getty Images link side by side
Latest: 59 minutes ago
"invalid API" so my Flickr stream doesn't show on my Blogger page?
Latest: 72 minutes ago
Question about using AdSense
Latest: 2 hours ago
Facebook
Latest: 2 hours ago
[Official Topic] New photo sizes & New display setting for Pro
Latest: 3 hours ago
More...

Search the Help Forum

[not a flickr bug] BR tag with {description_raw}

Abstract Machine  Pro User  says:

I'm trying to set the formatting for emails uploaded to my blog. I cannot for the life of me seem to get rid of those damn BR tags.

My layout is basically the code to show the image, then:

P{description_raw}/P

Obviously there are greater-than and lesser-than brackets but I couldn't figure out how to write them here ,-)

As I understand it, {description_raw} is supposed to send WordPress the email message content raw, without any BR formatting, which by the way is a XHTML-Strict no-no anyway.

I read through the forums, where it was suggested using {description_raw}. As you can see, I did, and I still get BR tags.

I want a simple layout, no special formatting other than P tags for the text block. I take care of formatting through CSS on WordPress (1.5).

P tags surrounding each paragraph separated by double lines would be nice, but I'll wait for that. Just help me get rid of the horrid little BR tags for now...
Posted at 4:03PM, 9 January 2006 PDT ( permalink )
‮‭‬bees‬ (staff) edited this topic 78 months ago.

view photos

Flickr Staff

‮‭‬bees‬ says:

i'm not sure where you get the idea that br tags aren't allowed under xhtml 1 strict. the dtd has this to say:

<!ELEMENT br EMPTY> <!-- forced line break -->
<!ATTLIST br
%coreattrs;
>


as for the description_raw - a quick test of what's transmitted over the wire shows that we don't send the br tags - that must be a wordpress addition. my raw request looks like this:

<?xml version="1.0" encoding="utf-8"?>
<methodCall>
<methodName>metaWeblog.newPost</methodName>
<params>
<param><value><string>1</string></value></param>
<param><value><string>{username}</string></value></param>
<param><value><string>{password}</string></value></param>
<param><value><struct>
<member><name>title</name><value><string>Title!</string></value></member>
<member><name>description</name><value><string>DESC:this
is
a
test</string></value></member>
</struct></value></param>
<param><value><boolean>1</boolean></value></param>
</params>
</methodCall>
Posted 78 months ago. ( permalink )

This thread was closed automatically due of a lack of responses over the last month.

Subscribe to a feed of stuff on this page... Feed – Subscribe to help discussion threads