<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Anaam Hamid</title>
    <description>The latest articles on DEV Community by Anaam Hamid (@anaamhamidoslab).</description>
    <link>https://dev.to/anaamhamidoslab</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4278714%2F8cadc1cb-4d3f-4952-8e3a-221f94898a04.png</url>
      <title>DEV Community: Anaam Hamid</title>
      <link>https://dev.to/anaamhamidoslab</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/anaamhamidoslab"/>
    <language>en</language>
    <item>
      <title>How to respond to negative Google reviews: a practical playbook for restaurants and cafes</title>
      <dc:creator>Anaam Hamid</dc:creator>
      <pubDate>Sun, 06 Dec 2026 19:36:16 +0000</pubDate>
      <link>https://dev.to/anaamhamidoslab/how-to-respond-to-negative-google-reviews-a-practical-playbook-for-restaurants-and-cafes-22oi</link>
      <guid>https://dev.to/anaamhamidoslab/how-to-respond-to-negative-google-reviews-a-practical-playbook-for-restaurants-and-cafes-22oi</guid>
      <description>&lt;p&gt;Most advice about Google reviews is written for marketers. This is the version for the owner reading a 1-star review at 9pm after a full shift.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Reply to every review, not just the bad ones.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A named thank-you on a 5-star review ("Sarah, glad the carbonara hit the spot") tells every future reader you pay attention. Owners usually only answer the angry ones, and it makes their profile read like a complaint log.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. A negative reply has a fixed shape.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Thank them for the feedback.&lt;/li&gt;
&lt;li&gt;Name the specific thing they complained about (never "your experience").&lt;/li&gt;
&lt;li&gt;Apologize without a legal admission.&lt;/li&gt;
&lt;li&gt;Move it offline with a direct email or phone number.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Never argue the facts in public. The reply is not for the reviewer. It is for the next 500 people who read it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Keep the tone flat.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The angrier the review, the calmer the reply. Future customers judge you by the worst exchange they can find. A professional reply to an unreasonable review wins you more customers than the review loses.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. What not to do.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Don't paste the same generic apology under every review. People notice instantly.&lt;/li&gt;
&lt;li&gt;Don't offer compensation in a public reply. It trains people to complain for free stuff.&lt;/li&gt;
&lt;li&gt;Don't reply to fake or pile-on reviews while a removal report is pending. If Google removes them, your reply dies with them. Screenshot everything with dates first.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;5. Keep a template file.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Ten minutes once saves the angry redraft every single time. Keep one reply per situation: rude staff, cold food, long wait, wrong order, price complaint, fake review.&lt;/p&gt;

&lt;p&gt;I put together a free kit of 25 copy-paste reply templates covering exactly these situations, with the reasoning behind each one: &lt;a href="https://files.instinct.com/thiknejuiy2e-25-review-replies-restaurants-can-copy" rel="noopener noreferrer"&gt;25 review replies restaurants can copy&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;6. Reviews are data.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If three reviews in a month mention slow service at lunch, that is a staffing fix, not a PR fix. Track themes monthly.&lt;/p&gt;

</description>
      <category>smallbusiness</category>
      <category>marketing</category>
      <category>seo</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>How I structure a small Telegram bot in Python (aiogram) for a local business</title>
      <dc:creator>Anaam Hamid</dc:creator>
      <pubDate>Sun, 06 Dec 2026 19:31:47 +0000</pubDate>
      <link>https://dev.to/anaamhamidoslab/how-i-structure-a-small-telegram-bot-in-python-aiogram-for-a-local-business-4k78</link>
      <guid>https://dev.to/anaamhamidoslab/how-i-structure-a-small-telegram-bot-in-python-aiogram-for-a-local-business-4k78</guid>
      <description>&lt;p&gt;Small businesses often ask me for the same thing: a Telegram bot that answers common questions, takes simple requests and pings the owner. Here is the structure I use. It stays small and is easy to hand over.&lt;/p&gt;

&lt;h2&gt;
  
  
  Layout
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;bot/
  main.py        # starts the bot
  handlers.py    # commands and message handlers
  config.py      # token and settings from environment variables
  data.json      # FAQ answers the owner can edit
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  A minimal handler (aiogram 3)
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;asyncio&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;json&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;os&lt;/span&gt;
&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;aiogram&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;Bot&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;Dispatcher&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="no"&gt;F&lt;/span&gt;
&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;aiogram&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;filters&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;Command&lt;/span&gt;
&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;aiogram&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;types&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;Message&lt;/span&gt;

&lt;span class="n"&gt;bot&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Bot&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;os&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;environ&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"BOT_TOKEN"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;dp&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Dispatcher&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;faq&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;json&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;load&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;open&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"data.json"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;encoding&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"utf-8"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="nd"&gt;@dp&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;message&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;Command&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"start"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;start&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;m&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nc"&gt;Message&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;m&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;answer&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"Hi! Ask about: "&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="s2"&gt;", "&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;join&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;faq&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="nd"&gt;@dp&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;message&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="no"&gt;F&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;text&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;answer&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;m&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nc"&gt;Message&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;key&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;m&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;text&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;strip&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;lower&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;m&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;answer&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;faq&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;key&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"I will pass this to the owner."&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;asyncio&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;run&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;dp&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;start_polling&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;bot&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Why this shape
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;The owner edits &lt;code&gt;data.json&lt;/code&gt;, not code.&lt;/li&gt;
&lt;li&gt;The token lives in an environment variable, never in the repo.&lt;/li&gt;
&lt;li&gt;Unknown questions get forwarded to a human, so the bot never invents answers.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Disclosure
&lt;/h2&gt;

&lt;p&gt;I build bots like this for small teams and communities as a freelancer. If you want one, my Contra service starts at $45 and includes the full source code, setup notes and one round of changes: &lt;a href="https://contra.com/s/XRvskAQg-custom-telegram-or-discord-bot-in-python" rel="noopener noreferrer"&gt;https://contra.com/s/XRvskAQg-custom-telegram-or-discord-bot-in-python&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Questions about the code are welcome in the comments.&lt;/p&gt;

</description>
      <category>python</category>
      <category>telegram</category>
      <category>bots</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Show DEV: InvoiceCheck, a free invoice error checker for freelancers</title>
      <dc:creator>Anaam Hamid</dc:creator>
      <pubDate>Fri, 04 Dec 2026 11:07:01 +0000</pubDate>
      <link>https://dev.to/anaamhamidoslab/show-dev-invoicecheck-a-free-invoice-error-checker-for-freelancers-2aha</link>
      <guid>https://dev.to/anaamhamidoslab/show-dev-invoicecheck-a-free-invoice-error-checker-for-freelancers-2aha</guid>
      <description>&lt;p&gt;Invoices often go out with small math mistakes, so I built a tiny free checker. It is called InvoiceCheck and it runs fully in your browser. Nothing is uploaded.&lt;/p&gt;

&lt;p&gt;You paste or upload a text invoice. It flags:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;missing invoice number, issue date, due date, client or payment info&lt;/li&gt;
&lt;li&gt;due date before issue date&lt;/li&gt;
&lt;li&gt;subtotal that does not match the line items&lt;/li&gt;
&lt;li&gt;tax that does not match the stated rate&lt;/li&gt;
&lt;li&gt;total that does not equal subtotal plus tax&lt;/li&gt;
&lt;li&gt;duplicate lines&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It can also write a friendly or firm payment reminder that opens in your email app.&lt;/p&gt;

&lt;p&gt;Try it: &lt;a href="https://anaamhamidos-lab.github.io/invoicecheck/" rel="noopener noreferrer"&gt;https://anaamhamidos-lab.github.io/invoicecheck/&lt;/a&gt;&lt;br&gt;
Code: &lt;a href="https://github.com/anaamhamidos-lab/invoicecheck" rel="noopener noreferrer"&gt;https://github.com/anaamhamidos-lab/invoicecheck&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It is rule based, early, and handles plain text and CSV only. No PDF yet. I would like to know which checks you would add, and what invoice formats it should read first. Feedback in the comments or as a GitHub issue is welcome.&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>webdev</category>
      <category>freelance</category>
      <category>opensource</category>
    </item>
    <item>
      <title>I run a desert tour business in Morocco. Here is how I rebuilt my website on Blogger for free.</title>
      <dc:creator>Anaam Hamid</dc:creator>
      <pubDate>Wed, 02 Dec 2026 14:16:28 +0000</pubDate>
      <link>https://dev.to/anaamhamidoslab/i-run-a-desert-tour-business-in-morocco-here-is-how-i-rebuilt-my-website-on-blogger-for-free-32ba</link>
      <guid>https://dev.to/anaamhamidoslab/i-run-a-desert-tour-business-in-morocco-here-is-how-i-rebuilt-my-website-on-blogger-for-free-32ba</guid>
      <description>&lt;p&gt;I run a small private desert tour business in the Merzouga region of Morocco. I am not a developer. This is the story of how my website went from a broken Blogger template to a fast, multilingual site that Google can actually read, without spending anything.&lt;/p&gt;

&lt;p&gt;Maybe it helps another small business owner in the same situation.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where I started
&lt;/h2&gt;

&lt;p&gt;My site is &lt;a href="https://www.moroccodeserttourss.com/" rel="noopener noreferrer"&gt;moroccodeserttourss.com&lt;/a&gt;, hosted on Blogger with a custom domain. A year ago it was one long page in English only, with a free template, no meta descriptions, no sitemap, and pages that returned 404 in French and Spanish even though the menu linked to them.&lt;/p&gt;

&lt;p&gt;My customers are travelers from Europe and the US. They search in English, French and Spanish. My site spoke to one third of them, badly.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Blogger, and why not WordPress
&lt;/h2&gt;

&lt;p&gt;Honest answer: money and time. Blogger is free, hosting included, with HTTPS handled by Google, and it can hold a custom domain. WordPress done properly means hosting, updates and maintenance. For a business that earns from tours, not from the website, free and stable beats flexible.&lt;/p&gt;

&lt;p&gt;The tradeoff: Blogger themes are XML files with their own tags, and there is almost no modern documentation. You edit one big file and pray.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I changed, in order of impact
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. One theme, three languages, real URLs.&lt;/strong&gt;&lt;br&gt;
Instead of three half-broken sites, the theme detects the page language and serves English, French or Spanish with clean URLs like &lt;code&gt;/p/fr.html&lt;/code&gt; and &lt;code&gt;/p/es.html&lt;/code&gt;. Each tour (Marrakech to Merzouga in 3 days, Zagora in 2 days, Fes in 4 days, Tangier in 7 days) got its own page in each language.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Titles and meta descriptions per language.&lt;/strong&gt;&lt;br&gt;
Blogger lets you set search descriptions per page. Most templates ignore them. Every page now has a unique title and description in its own language.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. hreflang and a sitemap.&lt;/strong&gt;&lt;br&gt;
The three language versions reference each other with hreflang tags, and the sitemap was submitted in Google Search Console. Before: 0 pages indexed. After: Google sees every page.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Real images with alt text.&lt;/strong&gt;&lt;br&gt;
Free photos from Pexels, compressed, each with alt text describing what is actually in the photo. Not "desert tour best price morocco". Alt text is for people who cannot see the image, and Google notices the difference.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Schema.org structured data.&lt;/strong&gt;&lt;br&gt;
The tours are marked up as TouristTrip with the route and duration. No fake ratings, no invented prices in the markup. I had hidden price data in structured data at one point and removed it, because markup should describe what the page shows.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;6. One clear call to action.&lt;/strong&gt;&lt;br&gt;
My customers book on WhatsApp. Every page has a button that opens WhatsApp with a prefilled message naming the tour they were reading about. No contact form that sends email I forget to check.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I learned
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Google does not owe you traffic. After all this, indexing took days and ranking will take months. The work makes the site &lt;em&gt;eligible&lt;/em&gt; to rank. That is all SEO ever is.&lt;/li&gt;
&lt;li&gt;Free platforms are not the limitation. The limitation was that my old site gave Google nothing to work with.&lt;/li&gt;
&lt;li&gt;Removing things helped as much as adding things: I deleted a reviews section I could not back up with real, verifiable reviews. A site that makes only true claims converts better anyway.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What is still broken
&lt;/h2&gt;

&lt;p&gt;The non-www version of the domain took days to start resolving after DNS changes. Blogger gives you almost no control there. And I still have no analytics worth reading yet, so I cannot tell you which change moved the needle. If you have done multilingual SEO on Blogger, I would genuinely like to hear what worked for you.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;I wrote this to share the experience, and yes, also so travelers can find my tours. If you are planning a Morocco trip, the site is linked above. If not, I hope the Blogger notes help your own project.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>seo</category>
    </item>
  </channel>
</rss>
