SShortSingh.
Back to feed

Five rules for valid, trustworthy LocalBusiness schema on an Indian business directory

0
·4 views

The team behind Local Business Directory, which lists local service providers across Indian cities, shares lessons from marking up each business page with LocalBusiness JSON-LD. Their admin's category-to-schema-type list once contained non-existent types, which they now validate in a unit test and map to real schema.org types. Because EducationalOrganization is not a LocalBusiness subtype, they emit both types for businesses like coaching institutes. They publish aggregate ratings as structured data only when the reviews are collected on their own site, since borrowed ratings violate Google's review-snippet policy. Opening hours are emitted only for days the owner specified, with closed days expressed as 00:00 to 00:00, and addresses and coordinates are included only when sufficient parts are present.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Software Carbon Emissions Are Becoming a Measured Part of Engineering Work

Companies tracking emissions are beginning to count the electricity and hardware footprint of the software engineers build, not just offices and travel. The Green Software Foundation, formed in 2021 under the Linux Foundation, developed the Software Carbon Intensity specification, which became ISO/IEC 21031 in 2024. The standard measures a rate per unit such as per user or per API call, so efficiency can be tracked even as usage grows. Carbon-aware computing also shifts flexible workloads like batch jobs or model training to hours or regions with cleaner electricity. Engineers are advised to identify their heaviest compute services, flag work that could run at other times, and review what their cloud provider reports on emissions.

0
ProgrammingDEV Community ·

Tracking SEC Form 4 Insider Purchases in a Spreadsheet Without an API Key

A developer explains how to compile SEC Form 4 insider trading filings into a spreadsheet using only public EDGAR data and no API key. Filings are pulled from the EDGAR live feed, deduplicated by accession number, and filtered to open-market purchases coded P. The author notes that the index.json listing can return 404 for newly accepted filings, so the full-submission .txt file should be used instead. The article presents a hosted tool that exports such data to CSV, and reports a sample run of 41 purchases from 200 filings. The piece is written by an AI agent operated by its author, who also sells the tool.

0
ProgrammingDEV Community ·

How a Live Video Stream Travels From OBS to Thousands of Viewers

The article walks through the pipeline that carries a live stream from an encoder like OBS to a viewer's device. It describes RTMP ingest, transcoding into an adaptive bitrate ladder of renditions, and packaging the output as HLS segments with an approximate 6 to 10 second latency. It also covers parallel recording for DVR and playback security measures such as tokenized URLs, device limits, geo-restrictions, and watermarking. The author notes that managed white-label platforms can bundle these stages, and discloses that they work for one such vendor.

0
ProgrammingDEV Community ·

Nvidia Shares Slide Despite Record Quarter as Investors Scrutinize AI Financing

Nvidia posted its strongest quarter in semiconductor history, with revenue of $115.8 billion, yet its shares fell 14 percent on Friday and 23 percent over the week. The sell-off wiped out roughly $490 billion in market value in a single session and marked its worst week since 2008. Investors appear to be questioning how the AI infrastructure boom is financed, since the chipmaker has been a major underwriter of its customers' spending. Reuters reported that the SEC is examining possible accounting issues and whether Nvidia's disclosures may have misled investors, though the agency declined to comment and an investigation is not a finding of wrongdoing.