Hi do you hire contract based python/django freelancer?
We can help you in this and related techincal tasks at fair prices. Reply
or send email to divy...@pythonmate.com
Best Regards,
Divyesh Khamele,
Pythonmate
On Tue, 29 Sep 2020, 1:57 pm dum dum, wrote:
> I'm using django si
Hi Dum Dum,
On 29/09/2020 13.42, dum dum wrote:
Thanks kasper.
I actually did check the logs many times both local and production,
nothing is wrong,, I use:
heroku logs --tail -a -myapp on my production environment
It looks like this is only bringing up the access logs, which is not
reall
ealized that in the log, there are robots crawling my website.
Since I have links left to be crawled.
But for newer links in my site, the robot wouldn't find it because this
error.
[image: image.png]
pic above is from my google search console..
[image: image.png]
this one is from bing webmas
Hi Dum Dum,
On 29/09/2020 10.26, dum dum wrote:
I'm using django sitemap to generate my sitemap.
In local it works normally, I can visit 127.0.0.1:8000/sitemap.xml
<http://127.0.0.1:8000/sitemap.xml> and see the data. But in production,
I got http error 500 (site matching quer
I'm using django sitemap to generate my sitemap.
In local it works normally, I can visit 127.0.0.1:8000/sitemap.xml and see
the data. But in production, I got http error 500 (site matching query not
exist) when trying to access "domain.com/sitemap.xml". I've been follow
Put your code on github. I'll compare with my code. I've done sitemap for
my site and it's working.
On Mon, Sep 21, 2020, 8:55 AM dum dum wrote:
> Anyone has solution for this issue?
> Please let me know
> Thanks
>
> On Mon, Sep 14, 2020 at 12:31 PM dum dum wr
Anyone has solution for this issue?
Please let me know
Thanks
On Mon, Sep 14, 2020 at 12:31 PM dum dum wrote:
> Update for this case:
> I fixed the h13 error by limiting records that I pulled from database.
> I still don't understand yet why heroku gave me that error, maybe because
> the server
Update for this case:
I fixed the h13 error by limiting records that I pulled from database.
I still don't understand yet why heroku gave me that error, maybe because
the server spec is not good enough for my data that has lot rows to pulled.
I'm using heroku hobby-basic.
Firefox:
I open domain/si
I don't know why,
in local
localhost:8000/sitemap.xml will generate sitemap.xml.
But on heroku,
domain/sitemap.xml will error h13.
I followed this tutorial
https://jawaban.online/scope/outlink/6442/django-sitemap-tutorial-help-crawlers-understand-your-website-2018-youtube/
and
https://mediu
Hi,
There is an error while declaring code in the sitemap framework
documentation.
Incorrect statement:
from django.contrib.sitemaps.view*s* import sitemap
url(r'^sitemap\.xml$', sitemap, {'sitemaps': sitemaps},
name='django.contrib.sitemaps.views.sitemap
s for each sitemap. Is there any other app or any
other way to do this ?
In sitemaps.py, i have :
sitemaps = { 'movie': MovieSitemap,'news': NewsSitemap,}
class MovieSitemap(Sitemap):
changefreq = "daily"
priority = 0.9
def items(self):
return
On Tue, Dec 18, 2012 at 1:17 PM, Frankline wrote:
> But the sites framework has already been installed, as you can see from my
> settings file.
>
According to me, If that is true then it should not have thrown Import
error.
To install the sitemap app, follow these steps:
But the sites framework has already been installed, as you can see from my
settings file.
On Tue, Dec 18, 2012 at 10:44 AM, Sandeep kaur wrote:
> On Sun, Dec 16, 2012 at 10:55 PM, Frankline wrote:
> >
> > I'm having a problem implementing the sitemaps in my application. I'm
>
> >
> > ImportErro
On Sun, Dec 16, 2012 at 10:55 PM, Frankline wrote:
>
> I'm having a problem implementing the sitemaps in my application. I'm
>
> ImportError at /sitemap.xml
>
> No module named django.contrib.sitemaps
>
> Request Method: GET
> Request URL: http://localhost:8000/sitemap.xml
> Django Version: 1.4.2
gt; 1. In my *urls.py*
>
> from sitemap import JobPostSitemap
> sitemaps = {
> 'jobs': JobPostSitemap,
> }
> ... # Removed other urls
> url(r'^sitemap\.xml$', 'django.contrib.sitemaps.views.sitemap',
> {'sitemaps': sitemap
On Wed, 2011-12-21 at 11:47 -0200, Andre Terra wrote:
> I'm not sure I understand your question, but here's my attempt at an
> answer.
>
> root directive in HttpCoreModule:
> http://wiki.nginx.org/HttpCoreModule#root
> Example nginx.conf: http://dpaste.com/hold/676259/
thanks - did it. I hope th
>
> I have a site which is running nginx virtual host proxied to gunicorn.
> The client has hired some SEO firm who have given me a bunch of sitemap
> files that they want me to put in document root. Apache virtual hosts
> define a document root, but I cannot find anything wrt ngin
hi,
I have a site which is running nginx virtual host proxied to gunicorn.
The client has hired some SEO firm who have given me a bunch of sitemap
files that they want me to put in document root. Apache virtual hosts
define a document root, but I cannot find anything wrt nginx. Any clues
Google recommends to add to every entry in a mobile
sitemap. Who can help me with this?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this g
Thank You very much!
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/MUltEa4dGogJ.
To post to this group, send email to django-users@googlegroups.com.
To un
> Exception Value: Reverse for 'entry' with arguments '('my 1st post',)'look at
> urls.py
> Date: Sun, 4 Sep 2011 22:25:50 -0700
> Subject: sitemap
> From: veva...@yandex.ru
> To: django-users@googlegroups.com
>
> Would You please
):
return self.title
@models.permalink
def get_absolute_url(self):
return('entry', [str(self.title)])
--- blog.sitemap.py:
from django.contrib.sitemaps import Sitemap
class BlogSitemap(Sitemap):
changefreq = "never"
priority = 0.5
def items(s
Hi everyone,
Does Django Sitemap Framework handle paginated content? I have a Django
sitemap generating URLs for articles, and the articles are paginated on the
site.
Thanks.
--
Regards,
Sithembewena Lloyd Dube
--
You received this message because you are subscribed to the Google Groups
Try something like this:
def location(self, obj):
return reverse('path.to.your.view.function', args=[category])
and put it into your sitemap.py
On 21. Jan, 20:40 h., galago wrote:
> I can't find out how to pass corrent location to the sitemap element.
> I have
I can't find out how to pass corrent location to the sitemap element.
I have declared:
def items(self):
return Category.objects.all()
How can i generate my correct urls from my urlconf file:
url(r'^category/(?P[\w\-_]+)/$', 'show_category',
name='show_cate
Thanks Shawn, thats a good solution but just seems unnecessary and the
docs are misleading.
adam
On Jan 14, 6:51 pm, Shawn Milochik wrote:
> On Jan 14, 2011, at 12:19 PM, spenoir wrote:
>
> > I pretty sure I've set up my sitemaps correctly but I get this error
> > when I try to specify a custom
On Jan 14, 2011, at 12:19 PM, spenoir wrote:
> I pretty sure I've set up my sitemaps correctly but I get this error
> when I try to specify a custom template for the sitemap. anyone any
> ideas? I'm using Django 1.2
Because the function declaration doesn't accept templa
I pretty sure I've set up my sitemaps correctly but I get this error
when I try to specify a custom template for the sitemap. anyone any
ideas? I'm using Django 1.2
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post
;
> Le 6 sept. 2010 à 16:58, Sithembewena Lloyd Dube a écrit :
>
> Hi all,
>
> I added a sitemap app to my Django 1.2.1. app to and when I browse to
> sitemap.xml on my development machine, Django does generate valid xml
> sitemap.
> However, it's using www.example.com/ in
Hi,
You need to edit de default site name and url.
By default the site application creates an www.example.com site. Just log in
the admin and change it.
Regards,
Xavier.
Le 6 sept. 2010 à 16:58, Sithembewena Lloyd Dube a écrit :
> Hi all,
>
> I added a sitemap app to my Django 1.2.
Hi all,
I added a sitemap app to my Django 1.2.1. app to and when I browse to
sitemap.xml on my development machine, Django does generate valid xml
sitemap.
However, it's using www.example.com/ in the generated links instead of my
local IP address and port number. is this behaviour customi
Alright, so I have taken it one step further. In the code below all
the items appear in the sitemap (shops from category prepaid and shops
from the category tv). Next step is to add the productgroup in the
custom sitemap url (see location code). When I try to do this, only
the first item of the
Hi there,
I am playing around with Django's sitemap app and I have a question.
When I pass a normal query in a sitemap class like Shop.objects.all()
everything works fine. My problem begins when I try to publish a model
with a many to many field in it.
When I test this code below in the P
I have some objects that needs to be paginated . I want to get all my pages
on my sitemap.
Is there any smart way to make items(self) returns all the pages for that
objects and not only the get_absoute_url without page= get variable?
--
Alessandro Ronchi
http://www.soasi.com
SOASI - Sviluppo
For anyone looking for the most basic "static" sitemap you could use:
Views.
def dlsitemap(request):
sitemap_data = open('path/to/templates/sitemap.xml',).read()
return HttpResponse(sitemap_data, mimetype="text/xml")
URLS
(r'^sitemap\.xml$&
is unless you happen to have the sitemaps.xml file already.
>
> On Oct 12, 11:32 am, Timbadu wrote:
>
> > I need a simple sitemap for 5 URLs. The django sitemaps app seams a
> > bit overkill for such a simple xml file.
> > What's the best way of doing this?
> > Can i
You might as well use django.contrib.sitemaps.
It's not difficult to use that app so there's no more efficient way to
do this unless you happen to have the sitemaps.xml file already.
On Oct 12, 11:32 am, Timbadu wrote:
> I need a simple sitemap for 5 URLs. The django sitemaps app
I need a simple sitemap for 5 URLs. The django sitemaps app seams a
bit overkill for such a simple xml file.
What's the best way of doing this?
Can i simply upload a sitemaps.xml and point to it?
Or should i use the django.contrib.sitemaps?
T
I'm curious if anyone has done any work in making certain aspects of the
sitemap framework editable via the admin. For instance, someone might want
their marketing folks to tweak the various priorities or changrefreq's of
specific urls. I know it can be done by editing code and subclassi
Ah, sorry :)
You just have to write a custom Sitemap class. The docs say that it
doesn't matter what type of objects are returned by items as long as
your sitemap class knows how to get the necessary information from
them.
Read the docs here:
http://docs.djangoproject.com/en/dev/ref/co
Hi,
Thanks for replay, but I was talking about the django sitemap
framework http://docs.djangoproject.com/en/dev/ref/contrib/sitemaps/ ,
and problem: how to add my custom page (serving by server) to output
(XML) of the django sitemap framework?
regards.
On 9 Wrz, 18:47, Peter Coles wrote
9, 11:41 am, eli wrote:
> Hi,
>
> How to add custom static url (they are not in database) to Django
> Sitemap? for ex: /about-me.html, /contact.html, /some-static-url.html
>
> regards.
--~--~-~--~~~---~--~~
You received this message because you are su
Hi,
How to add custom static url (they are not in database) to Django
Sitemap? for ex: /about-me.html, /contact.html, /some-static-url.html
regards.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django
)
is_published = models.BooleanField()
section = models.ForeignKey(Section)
I need to create a sitemap for articles, which contains sitemap files for
sections. I was reading django documentation about it here
http://docs.djangoproject.com/en/dev/ref/contrib/sitemaps/
But didn't m
Anyone know of an easy way/pluggable app that can generate a simple
html sitemap output?
I've used the sitemap module of Django to generate the .xml just fine
- but surely I can manipulate that to get a html output to drop in a
template?
T
I have a sitemap dictionary.
I want to add in my sitemap.xml an url for every url of my sitemap with a
?lang=en ending. Is it possible?
So, if my sitemap contains:
http://www.detectorpoint.com/
http://www.detectorpoint.com/about/
I want my sitemap to contain:
http://www.detectorpoint.com/
http
Hi I am trying to get a sitemap index generated however I only get
"Exception Type:ValueError
Exception Value:Empty module name"
I am not sure what I am doing wrong.
urls.py
sitemaps = {
'blog':BlogSitemap,
'gallery':GallerySitem
2007/6/16, John DeRosa <[EMAIL PROTECTED]>:
>
> David Larlet wrote:
> >
> > Any thoughts about this implementation?
>
> I think you could get rid of FakeObject() completely:
>
> class MainSitemap(Sitemap):
> priority = 0.8
>
> def items(self)
David Larlet wrote:
>
>
> Thanks for your suggestion, I've just done that:
>
> class FakeObject(object):
> def __init__(self, url):
> self.url = url
>
> class MainSitemap(Sitemap):
> priority = 0.8
>
> def
2007/6/15, John DeRosa <[EMAIL PROTECTED]>:
>
> David Larlet wrote:
> > 2007/6/13, John DeRosa <[EMAIL PROTECTED]>:
> >> David Larlet wrote:
> >>> 2006/12/7, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> >>>> I've been playing
David Larlet wrote:
> 2007/6/13, John DeRosa <[EMAIL PROTECTED]>:
>> David Larlet wrote:
>>> 2006/12/7, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>>>> I've been playing with the sitemap stuff and am finding it to be quite
>>>> slick.
2007/6/13, John DeRosa <[EMAIL PROTECTED]>:
>
> David Larlet wrote:
> > 2006/12/7, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> >> I've been playing with the sitemap stuff and am finding it to be quite
> >> slick. I do, however, have some questions
David Larlet wrote:
> 2006/12/7, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>> I've been playing with the sitemap stuff and am finding it to be quite
>> slick. I do, however, have some questions about some unusual cases.
>>
>> 1)It works beautifully for listi
2006/12/7, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
> I've been playing with the sitemap stuff and am finding it to be quite
> slick. I do, however, have some questions about some unusual cases.
>
> 1)It works beautifully for listing all the detail pages that make up a
&
On 5/7/07, Paul Rauch <[EMAIL PROTECTED]> wrote:
> if you take a look at the first line of
> http://www.djangoproject.com/documentation/sitemaps/
> there is written: "New in Django development version"
> meaning: No, not even in 0.96
That's incorrect. The sitemaps app was part of Django 0.96. It
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mary schrieb:
> Does the sitemap work for version 0.95.1
> Casue when i went to this url
> http://www.djangoproject.com/documentation/0.95/sitemaps/
> it gave me error page
>
> Thanks you in advance ;
> Mary Adel
>
>
Does the sitemap work for version 0.95.1
Casue when i went to this url
http://www.djangoproject.com/documentation/0.95/sitemaps/
it gave me error page
Thanks you in advance ;
Mary Adel
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Hello,
How could I get the sitemap feature working for my i18n site ?
I use the standard django setup for my i18n, and that works via
cookies, and as far as I see, google sitemaps do not work with
cookies.
Any clue where I could find some more information ?
With regards,
Robbin
Hello,
How could I get the sitemap feature working for my i18n site ?
I use the standard django setup for my i18n, and that works via
cookies, and as far as I see, google sitemaps do not work with
cookies.
Any clue where I could find some more information ?
With regards,
Robbin
Hello,
How could I get the sitemap feature working for my i18n site ?
I use the standard django setup for my i18n, and that works via
cookies,
and as far as I see, google sitemaps do not work with cookies.
Any clue where I could find some more information ?
With regards,
Robbin
I've been playing with the sitemap stuff and am finding it to be quite
slick. I do, however, have some questions about some unusual cases.
1)It works beautifully for listing all the detail pages that make up a
list view, but what about the page that takes the list view? In my
case, For ex
Hello,
Following the djangoproject.com Sitemap example and the documentation on
Sitemaps I'm trying to implement a caching Sitemap Index that will link
out to other Sitemaps for my site (one for each main model basically).
I had the Sitemap Index working with the separate sitemaps just
62 matches
Mail list logo