absolute links in pebble?

View: New views
2 Messages — Rating Filter:   Alert me  

absolute links in pebble?

by Michael Gnatz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello everybody,

I have a question regarding how pebble does "auto-discover at runtime" of the blog's url?

In the HTML finally rendered I only have absolute URLs... I bought an additional domain for my blog where I can reach the same blog now but unfortunately all the links are pointing to the old domain. After scanning through the sources for some time now I do not see where those absolute URLs come from? The configuration of the url in pebble.properties is empty.

Regards
 Michael

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Pebble-user mailing list
Pebble-user@...
https://lists.sourceforge.net/lists/listinfo/pebble-user

Re: absolute links in pebble?

by Olaf Kock-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

just a short comment for now (not enough time to go in depth - I'd have
to dig the sourcecode):

Michael Gnatz schrieb:
> In the HTML finally rendered I only have absolute URLs... I bought an
> additional domain for my blog where I can reach the same blog now but
> unfortunately all the links are pointing to the old domain. After
> scanning through the sources for some time now I do not see where those
> absolute URLs come from? The configuration of the url in
> pebble.properties is empty.

>From a SEO standpoint (Search Engine Optimization) I've heard (I'm no
expert) that you might get punished to publish the very same content on
different domains.

That said - are you using Apache/mod_jk for serving pages with tomcat?
If so: have you tried the JkMount option in both virtual host
definitions. (no guarantee that this will work though)

A very quick search in the source code lead me to BlogLookupFilter -
which you also found according to your next mail. You might want to have
a look at the decorators or Blog.getUrl... I'll probably won't get to it
tomorrow, but I'll try...

Cheers,
Olaf

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Pebble-user mailing list
Pebble-user@...
https://lists.sourceforge.net/lists/listinfo/pebble-user