on i4PACE(i for Personal Archiving and Creating Environment)
actions » SearchLogin 89 articles • 30 Jul 2010

Article with comments

Tuesday, 04 Mar 2008

permalink Markup 2

Well, list tags should work:

  • this is the first item.
  • this is the second.
  • this is the third.

Yay, it works :-)

Still cannot figure why the internal link to /frog/files/Teru doesn't work :-/ Let me try again... [[image: logo-Ubuntu.png]] Nope :-/

Googled on the keywords 403 Deeplinking because the error message showed so, I found the code below in webapps/frog/frog/snakelets.py as follows:

def serve(self, request, response):
        if not request.getReferer().startswith(request.getBaseURL()):
            # deeplink attempted (request without a referer header)
            if not self.getWebApp().getConfigItem("allowdeeplinks"):
                return response.sendError(403, "deeplinking not allowed")

It's the code part to check "deeplinking". Let me comment out the part temporarily, and see what happens. Wow! It wooooooooorrrrrrrked! Now, the picture looks too big. Let me add an attribute to make it smaller. [[image: logo-Ubuntu.png]]
OK, but, when I add a space around the character |, it doesn't work... why? %-| By the way, how can I escape the tag expression here... By code tag?

[@logo-Ubuntu.png|w=50%]

Good. What I meant above is, when I怀write

[@logo-Ubuntu.png | w=50%]

it doesn't work.

• Wrote Teru at 21:02 (edited 3×, last on 04 Mar 2008) | read 10× | Add comment

Comments (0)

No comments for this article yet.

Write a comment

Your name  
E-mail   (only visible for blog owner)
Homepage
How much is 2+9?   (protection against spam-bots)
Text:

[b] [i] [u] [tt] [center] [code] [quote] [url] [url=] [img] [@] [@@] [@:]
detailed help about markup
Process times: page=0.020 request=0.036 cpu=0.030