It’s always good idea to update different search engines that your blog or a websites has updated. The easiest possible way to do this is by pinging them via XML-RPC.
Regular expressions are one of the most important things to learn, when we are talking about professional web development. Today I will present how regular expressions works in python. I will use my own script called logsplitter to present, how it works in practice.
It’s really easy to create simple sitemap.xml in django. You can follow the instructions from this site or just google it. However… it’s a bit more complicated when you want to create simple.xml file with newses and some static pages.
I need dynamic SITE_ID in one of my websites (tspot), because of different domains and languages in it. I don’t want more threads, I just want to have different SITE_ID for different domains.
I already wrote something about django + internalization. Today I will add one more thing to this topic.
About Django + RSS I was writing some time ago. Today – one more example related to this topic. I will write how to use parameters from URL in feed class.
I translate tspot.pl from a couple of days using django internalization – i18n. It’s really easy to use, however I found one problem, which wasn’t so obvious. Some of the texts were not translated. Everything because of…
Sometimes we need to handle lots of subdomains (e.g. we want to have URLs like someones_login.ourdomain.com). So, lets configure nginx for this kind of situation.
It is always a good idea to run your python projects via paster + nginx. Some time ago I wrote about building environment for pylons projects on ubuntu, so that shouldn’t be a problem. Now… let create some kind of script to start, stop and restart our application.
Sure, you can always install Apache. However… sometimes you can’t… for example: there could be some other web server installed on your port 80. There could be nginx for your python projects already installed (like in my case).
Hello, I'm Karol Zielinski, internet evangelist, an entrepreneur, project manager and a web developer from Gdynia, Poland. I like creative design, good advertisement, social media and all kind of stuff around the web.