Hi guys, I ended up using StreamResponse from the jumpstart example
http://jumpstart.doublenegative.com.au/jumpstart/examples/navigation/returntypes1
along with JAXB. This appears to be working perfectly.
On Tue, Jun 3, 2014 at 3:52 AM, Magnus Kvalheim wrote:
> Hi.
> Yes, you can generate the s
Hi.
Yes, you can generate the sitemap and place it an arbitrary location -
another domain even.
You provide a path to the sitemap in the robots.txt (which is located on
our real domain)
By doing so you have proven ownership of the domain and can basically host
the sitemap on any path/domain.
http
Another couple of options :
1. Assuming you're building with maven and you don't have an Index page at
root, save sitemap.xml to src/main/webapp and maven will add it to the root
of your war. Note that this file is considered read only one your app has
started.
2. Use an index page. If the page a
> I'd probably try to generate this rather than manually reading / wiring
from a database.
I meant to say :
I'd probably try to generate this rather than manually reading / writing
from a file.
On 3 Jun 2014 07:13, "Lance Java" wrote:
> If it were me, I'd probably try to generate this rather tha
If it were me, I'd probably try to generate this rather than manually
reading / wiring from a database.
A quick way to do that would be by contributing a request filter. This
could possibly return a file from the classpath when
request.getUri().equals("/sitemap.xml")
Another option is to create a
On Mon, Jun 2, 2014 at 7:01 PM, George Christman
wrote:
> Hi guys, I'm trying to automatically generate my sitemaps and I'm having a
> difficult time trying to figure out how to read/write to it. I currently
> have it in the root of my class path, is this the correct location? If so,
> how do I r
Just an FYI george,
On my freelancing blog which runs from a php cms, the sitemap is generated
from db and not on the fs.
So I presume you would have to use tapestry's raw stream writer to have
similar effect or whatever its called. I'm on my phone so can't give
accurate mumblings.
Its at http:/
Hi guys, I'm trying to automatically generate my sitemaps and I'm having a
difficult time trying to figure out how to read/write to it. I currently
have it in the root of my class path, is this the correct location? If so,
how do I read/write to it?
I'm using sitemapgen4j and this example
http://w