GeoRSS Simple Namespace Reference
The GeoRSS Simple namespace enables geographic tagging of RSS feeds and items, allowing publishers to associate location information with their content.
| Namespace URI | http://www.georss.org/georss |
|---|---|
| Specification | GeoRSS Specification |
| Prefix | <georss:*> |
| Available in | RSS, Atom, RDF |
| Property | georss |
Types
ts
export namespace GeoRssNs {
export type Point = {
lat: number
lng: number
}
export type Line = {
points: Array<Point>
}
export type Polygon = {
points: Array<Point>
}
export type Box = {
lowerCorner: Point
upperCorner: Point
}
export type ItemOrFeed = {
point?: Point
line?: Line
polygon?: Polygon
box?: Box
featureTypeTag?: string
relationshipTag?: string
featureName?: string
elev?: number
floor?: number
radius?: number
}
}Related
- Parsing Namespaces - How namespace parsing works