1
ideiafacil
Custon block with google links
  • 2006/1/8 17:20

  • ideiafacil

  • Just popping in

  • Posts: 29

  • Since: 2005/1/11


Hi all...

To put RSS links in my page i use the generator in
http://www.toprankresults.com/tools/button-maker.php


but the code for the Google button is:
<a href="http://www.google.com/reader/preview/*/feed/http://www.ideiafacil.com/backend.php"><IMG src="http://www.toprankresults.com/tools/RSS-images/google.gif" alt="Google Reader" border="0">a><br>


Look at the /*/ in the link..
If i put this in a block html the XOOPS generate a */ in the block.

2
ideiafacil
Re: Custon block with google links
  • 2006/1/10 12:35

  • ideiafacil

  • Just popping in

  • Posts: 29

  • Since: 2005/1/11


update:

Looking in Protector i supose the */ at the end is insert by the module.
In the log is this:
"Isolated comment-in found"
The protector is "the problem".

Thanks for all..

PS: the solution is create a new code for the google reader button:
http://www.google.com/webmasters/addfeed.html

NEVER build a site without protector

3
teibaz
Re: Custon block with google links
  • 2006/1/10 14:56

  • teibaz

  • Not too shy to talk

  • Posts: 103

  • Since: 2004/6/13


i think you should use htmlspecialshars or url encode.

simple, if in this place instead of / would be
"& # 4 7 ;" (without spaces and quotes) and instead of * would be "& # 4 2 ;" (without spaces and quotes) everything would be fine

Login

Who's Online

272 user(s) are online (142 user(s) are browsing Support Forums)


Members: 0


Guests: 272


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits