collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18363
  • stats Total Topics: 2500
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: Last patch - changes to HTML parser  (Read 3893 times)

0 Members and 1 Guest are viewing this topic.

Offline onekman

  • BeBot Rookie
  • *
  • Posts: 15
  • Karma: +0/-0
Last patch - changes to HTML parser
« on: June 24, 2012, 06:21:18 pm »
Hey,

I hope you might be able to point me into the right direction! after the last AO patch, it seems all links using <a href.....  </a> is not working anymore. How do I make those work again ? any easy workaound ?

Thx in advance.

Brgds 1K

Offline crocks

  • BeBot User
  • **
  • Posts: 23
  • Karma: +0/-0
Re: Last patch - changes to HTML parser
« Reply #1 on: June 25, 2012, 12:49:13 am »
The small parsing bug has been finaly fixed so removing few ' in HTML code might work - like for a picture or item reference in script simply remove the ' inside the code calling it. Example:

Code: [Select]
<a href='itemref://244648/244648/300'>Sash of Scorpio Strength</a>
Like this:

Code: [Select]
<a href=itemref://244648/244648/300>Sash of Scorpio Strength</a>

Offline onekman

  • BeBot Rookie
  • *
  • Posts: 15
  • Karma: +0/-0
Re: Last patch - changes to HTML parser
« Reply #2 on: June 25, 2012, 06:28:49 pm »
Hi and thx for the suggestion :)

However I've tried remove ' from the html but it seems to have no effecs.

can your verify if this is the right way writting it now ? all hmtl refs. still seems to be broken.

$msg .= "<a href=chatcmd://tell <botname> <pre>raids>[REFRESH]</a> ";

Offline onekman

  • BeBot Rookie
  • *
  • Posts: 15
  • Karma: +0/-0
Re: Last patch - changes to HTML parser
« Reply #3 on: June 26, 2012, 07:05:10 pm »
No one experienced this problem !!??

Offline Shelly

  • BeBot Apprentice
  • ***
  • Posts: 192
  • Karma: +0/-0
Re: Last patch - changes to HTML parser
« Reply #4 on: June 26, 2012, 11:42:56 pm »
I checked my raidloot module and it seems to be fully functional. Is there a particular module you are seeing this issue in?

Offline onekman

  • BeBot Rookie
  • *
  • Posts: 15
  • Karma: +0/-0
Re: Last patch - changes to HTML parser
« Reply #5 on: June 28, 2012, 05:41:57 pm »
Well it's in home made module where I use f.ex. this tag

<a href=chatcmd://tell <botname> <pre>raids>[REFRESH]</a>

before patch it worked out fine, and showed the proper link text. But now it shows

<a href=chatcmd://tell <botname> <pre>raids>[REFRESH]</a> instead of the link.

it's showing wrong everywhere I use the <a href..... </a>. I really dont get whatss happend here

Offline Shelly

  • BeBot Apprentice
  • ***
  • Posts: 192
  • Karma: +0/-0
Re: Last patch - changes to HTML parser
« Reply #6 on: July 01, 2012, 02:28:23 am »
I think your command should be something like:

Code: [Select]
<a href='chatcmd://tell <botname> <pre>raids'>[REFRESH]</a>

But I have not tested it... just referencing code I wrote for the raidloot module.

Offline onekman

  • BeBot Rookie
  • *
  • Posts: 15
  • Karma: +0/-0
Re: Last patch - changes to HTML parser
« Reply #7 on: July 01, 2012, 01:07:32 pm »
Hi Shelly,

yes you where rigth shelly :) it's up and running again. Thx for the help. Case closed

 

* Recent Posts
[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm]


0.8.x updates for AoC by bitnykk
[January 30, 2024, 11:16:08 pm]


0.8.x updates for AO by bitnykk
[January 30, 2024, 11:15:37 pm]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am]


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm]

* Who's Online
  • Dot Guests: 498
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal