Ticket #1363 (closed defect: fixed)

Opened 8 months ago

Last modified 7 months ago

article title is not set correctly

Reported by: russ Owned by: npeterson
Priority: high Milestone: 0.9.3_rc3
Component: ambra Version:
Keywords: Cc:

Description (last modified by russ) (diff)

article title is not being set correctly.

other features (like the trackback rdf snippet) that rely on CODE_ARTICLE_TITLE are not working either

i'm guessing something around the article title was broken in the template clean up

 http://plosone-branch.plos.org:8080/article/info%3Adoi%2F10.1371%2Fjournal.pone.0002444

Change History

Changed 8 months ago by russ

  • description modified (diff)
  • summary changed from trackback ping RDF snippet is not showing up on article pages to article title is not set correctly

we include a snippet of RDF on article pages to allow linking sites to discover our trackback URL:

global_head.ftl (ambra default, PLoSDefault, and PLoSONE)

     <#if pgTitleOrig = "CODE_ARTICLE_TITLE">
       <@s.url id="trackbackURL" namespace="/" action="trackback" includeParams="none" trackbackId="${articleURI}"/>
       trackback:ping="${Request[freemarker_config.journalContextAttributeKey].baseHostUrl}${trackbackURL}"
     </#if>

it looks like the if statement no longer evaluates to true on article pages.

Changed 8 months ago by rcave

  • status changed from new to verify
  • resolution set to fixed

Fixed with r7800

Changed 7 months ago by npeterson

  • status changed from verify to closed
Note: See TracTickets for help on using tickets.