×
Blue Eagle 5 v1.5.4 has been Released (13 Sep 2020)

The Kunena team has announce the arrival of Kunena template Blue Eagle 5 v1.5.4 which is now available for download. This version addresses most of the issues that were discovered in development.

Idea W3C Validation Kunena 4.0.10

  • Trony
  • Trony's Avatar Topic Author
  • Offline
  • Junior Member
  • Music and Electronic Devices Designer.
More
4 years 5 months ago - 4 years 5 months ago #1 by Trony
For W3C Validation,
I modded these files:

1) com_kunena -> lib -> kunena.link.class.php

and

2) com_kunena -> views -> common -> view.html.php

I removed All 'follow' in $rel


3) libraries -> kunena -> view.php

I changed this:
return JHtml::_('kunenaforum.link', $category->getUri(), $content, $title, $class, 'follow');

With this:
return JHtml::_('kunenaforum.link', $category->getUri(), $content, $title, $class, 'category');

and
if (!$content)
{
$content = KunenaHtmlParser::parseText($topic->subject);
}
$rel = 'follow';

with this:
if (!$content)
{
$content = KunenaHtmlParser::parseText($topic->subject);
}
$rel = 'bookmark';

What do you think ?!?

Music and Electronic Devices Designer. Drum and Bass Addict. Creative Mind as Lifestyle. Cat in past Life. Soccer, Ice Hockey and Snowboard Lover.

Last edit: 4 years 5 months ago by Trony.
The following user(s) said Thank You: ChaosHead

Please Log in or Create an account to join the conversation.

More
4 years 5 months ago #2 by 810
Replied by 810 on topic W3C Validation Kunena 4.0.10
thats wrong, rel have 2 options: 1) nofollow or 2) follow
The following user(s) said Thank You: Trony

Please Log in or Create an account to join the conversation.

  • Trony
  • Trony's Avatar Topic Author
  • Offline
  • Junior Member
  • Music and Electronic Devices Designer.
More
4 years 5 months ago - 4 years 5 months ago #3 by Trony
Replied by Trony on topic W3C Validation Kunena 4.0.10
I Agree with you but W3C suggestes rel=bookmark and remove follow. (nofollow and category is ok).

Yandex Validator recognizes the rel bookmark in rdfanode.

I don't know. It's strange but...

Music and Electronic Devices Designer. Drum and Bass Addict. Creative Mind as Lifestyle. Cat in past Life. Soccer, Ice Hockey and Snowboard Lover.

Last edit: 4 years 5 months ago by Trony.

Please Log in or Create an account to join the conversation.

More
4 years 5 months ago - 4 years 4 months ago #4 by ice99
Replied by ice99 on topic W3C Validation Kunena 4.0.10

810 wrote: thats wrong, rel have 2 options: 1) nofollow or 2) follow


As far as i know - "follow" was removed in HTML5.
Here is available links
www.w3schools.com/tags/att_a_rel.asp
Some other rel-attributes exist ("bookmark" i.e.)

Trony variant seems acceptable, (anyway validator.w3.org/ show no errors).

Can you fix it in future versions? Anyway, please:
1. Tell why you made a decision - include rel="follow"?
2. What do you think about Trony variant?
3. How totally remove rel="follow" from template?

Also look at your sourcecode
<a class="ktoggler close" title="Collapse" rel="kprofilebox"></a>
And few others break validity of a code.
Can you (or me myself) remove it without affecting functionality of forum?

Also lightbox attachments generate rel="lightbox[thumb23]" - not valid too.
According html5 specification we must change "rel" attribute to "data-rel", which is perfectly valid. I tried, but no luck.
Last edit: 4 years 4 months ago by ice99.

Please Log in or Create an account to join the conversation.

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Time to create page: 0.121 seconds