Feature #988

RDF author problem plus minor rails issue

Added by sprewell - 817 days ago. Updated 296 days ago.

Status :Feedback Start :
Priority :Low Due date :
Assigned to :tobi - % Done :

0%

Category :frontend
Target version :-
Resolution :


Description

The RDF generator uses the following line for creator info

app/views/articles/read.rhtml:

line 11: dc:creator="<%= h @article.author %>"

but this will output the login for typo, probably not a good idea to declare it publicly. Instead, typo should ouput the user.name and I can do that by replacing that line with the following line

dc:creator="<%= h author_link(@article) %>"

which works for me. However, I don't give out my email address through typo and for those who do, this will include a mailto link in the RDF (in html safe format no less), which probably breaks the RDF specification. I don't know for sure that it does break the specification so someone should probably check that and amend the line or function appropriately.

Another small problem that I noticed recently when I tried to link to the mail archive of the typo mailing list at !http://www.mail-archive.com// is that Rails has a problem with URLs that contain email addresses. I had posted that link in someone's typo blog and the link didn't work properly because typo was using Rails's auto_link method (through body_html_postprocess) and auto_link improperly changes URLs that contain email addresses. The hyperlink

<A HREF="!http://www.mail-archive.com//&quot">typo mailing list</A>

will be transformed into

<a href='!http://www.mail-archive.com/<a href=' !mailto:typo-list rel="nofollow">typo mailing list</a>

I don't know if this is worth posting on the Rails trac so I posted it here so that the typo maintainers can decide for themselves.

Associated revisions

Revision 1114
Added by scott 726 days ago

Add wordpress2 converter. Closes #988

History

06/16/2006 05:21 PM - anonymous -

  • Status changed from New to Closed
  • Resolution set to wontfix

I don't think we have an RDF generator anymore.

06/16/2006 05:32 PM - anonymous -

  • Status changed from Closed to Feedback
  • Resolution deleted (wontfix)

06/16/2006 05:32 PM - mattrose-folkwolf-net -

never mind, I misread the bug.

Also available in: Atom PDF