<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Selectable Layer(s) in Python - Not TOC buttons in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/selectable-layer-s-in-python-not-toc-buttons/m-p/704426#M54524</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a Python Addin that selects a feature by mouse click location and updates the attributes (to a per-determined value) or deletes it based on the button I click in the toolbar (I am flagging the layer on the fly).&amp;nbsp; This layer I am updating is simply a reference layer (a result of&amp;nbsp; QC script).&amp;nbsp; The layer the QC script was run on, will be edited to correct mistakes, so I really only want that as my selectable layer, so I can continue editing after flagging a QC polygon as resolved, ignored, etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is that when I run my tool to update the polygon, it changes the list of selectable layers in my table of contents and adds the layer I updated through the tool.&amp;nbsp; I want to be able to set that back/set it to a particular layer after using my button.&amp;nbsp; Otherwise I have to keep setting it manually.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone know how to set the selectable layers through a script and not by clicking buttons in the TOC?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It should be part of arcpy.mapping, but it is not:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//00s300000008000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//00s300000008000000&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jun 2014 15:38:46 GMT</pubDate>
    <dc:creator>ChrisHanes1</dc:creator>
    <dc:date>2014-06-23T15:38:46Z</dc:date>
    <item>
      <title>Selectable Layer(s) in Python - Not TOC buttons</title>
      <link>https://community.esri.com/t5/python-questions/selectable-layer-s-in-python-not-toc-buttons/m-p/704426#M54524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a Python Addin that selects a feature by mouse click location and updates the attributes (to a per-determined value) or deletes it based on the button I click in the toolbar (I am flagging the layer on the fly).&amp;nbsp; This layer I am updating is simply a reference layer (a result of&amp;nbsp; QC script).&amp;nbsp; The layer the QC script was run on, will be edited to correct mistakes, so I really only want that as my selectable layer, so I can continue editing after flagging a QC polygon as resolved, ignored, etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is that when I run my tool to update the polygon, it changes the list of selectable layers in my table of contents and adds the layer I updated through the tool.&amp;nbsp; I want to be able to set that back/set it to a particular layer after using my button.&amp;nbsp; Otherwise I have to keep setting it manually.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone know how to set the selectable layers through a script and not by clicking buttons in the TOC?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It should be part of arcpy.mapping, but it is not:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//00s300000008000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//00s300000008000000&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2014 15:38:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/selectable-layer-s-in-python-not-toc-buttons/m-p/704426#M54524</guid>
      <dc:creator>ChrisHanes1</dc:creator>
      <dc:date>2014-06-23T15:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: Selectable Layer(s) in Python - Not TOC buttons</title>
      <link>https://community.esri.com/t5/python-questions/selectable-layer-s-in-python-not-toc-buttons/m-p/704427#M54525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't know of a way to make a layer un-selectable through Python scripts, which I'm guessing is intentional because layers are always selectable from a script's perspective.&amp;nbsp; (For example, arcpy.SelectLayerByLocation_management works on a layer even if it is not selectable in ArcMap, and the layer remains un-selectable even after running arcpy.SelectLayerByLocation_management via script or toolbox.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are updating a layer from a layer file, just make sure the layer file (layer.lyr) you are referencing was created from a layer that was not selectable, then it should preserve that property when brought into your map document.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kerry&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2014 19:43:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/selectable-layer-s-in-python-not-toc-buttons/m-p/704427#M54525</guid>
      <dc:creator>KerryAlley</dc:creator>
      <dc:date>2014-06-23T19:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: Selectable Layer(s) in Python - Not TOC buttons</title>
      <link>https://community.esri.com/t5/python-questions/selectable-layer-s-in-python-not-toc-buttons/m-p/704428#M54526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I have a Python Addin that selects a feature by mouse click location and updates the attributes&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would you be willing to share the code for this?&amp;nbsp; I'm trying to do a similar thing but take an attribute value from one selected feature and input it along with a string into an attribute field of another feature class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2014 13:41:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/selectable-layer-s-in-python-not-toc-buttons/m-p/704428#M54526</guid>
      <dc:creator>ChrisHarlow1</dc:creator>
      <dc:date>2014-06-26T13:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: Selectable Layer(s) in Python - Not TOC buttons</title>
      <link>https://community.esri.com/t5/python-questions/selectable-layer-s-in-python-not-toc-buttons/m-p/704429#M54527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here's the code for the Python add-in I was referring to.&amp;nbsp; Keep in mind that it is meant to work with our own data, so it would require significant changes to perform similarly with someone else's data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
#ShieldToolAddin.py
#By Kerry Alley 2013-03-12
#Vermont Agency of Transportation
#
#Python Add-In for ArcMap 10.1, 10.2
#
#SELECT_ROAD (button)
#When activated, will select features within 20 map-meters of the mouse click on the map.
#The features are selected only from the top-most layer with the GDB_HMS.HMSADMIN.rdsmall_arc
#&amp;nbsp; data source, regardless of layer name.
#
#CREATE_SHIELD (button)
#Requires that a single rdsmall_arc feature already be selected
#User makes a single click on the map to indicate the location of the highway shield, and
#&amp;nbsp; makes a double-click where the leader line extending from the highway shield will end.
#Both a point feature and a line feature are created, with relevant attributes transferred
#&amp;nbsp; from the selected rdsmall_arc feature.
#There is an un-commentable option in this script that sets the length of the leader line to
#&amp;nbsp; a fixed length, for uniformity.
#
#NOTE: This addin works "normally" if there is not an active editing session in ArcMap, but if
#&amp;nbsp; there is an active editing session, the addin "crashes" at the call to stopEditing().&amp;nbsp; The
#&amp;nbsp; features will still be created, but the screen will not refresh if there is a pre-existing
#&amp;nbsp; editing session active.

import arcpy, time, os, math
import pythonaddins

class SelectRoadClass(object):
&amp;nbsp;&amp;nbsp;&amp;nbsp; """Implementation for ShieldToolAddinA_addin.tool (Tool)"""
&amp;nbsp;&amp;nbsp;&amp;nbsp; def __init__(self):
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.enabled = True
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.shape = "NONE"
 
&amp;nbsp;&amp;nbsp;&amp;nbsp; def onMouseDownMap(self, x, y, button, shift):
 #start_time = time.time() #only used to compare run-times of different versions of the script
 arcpy.env.overwriteOutput = True
 
 rdsmall_dataSource = r"GDB_HMS.HMSADMIN.rdsmall_arc"
 
 mxd = arcpy.mapping.MapDocument('current')
 flag_rdsmall = 0 #flag_rdsmall is used to flag the first occurence of a layer having the desired dataSource in TOC
 for lyr in arcpy.mapping.ListLayers(mxd):
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if lyr.supports("dataSource"):
&amp;nbsp; if str(lyr.dataSource).endswith(rdsmall_dataSource) and not flag_rdsmall:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rdsmall_lyr = lyr
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; flag_rdsmall = 1
 point = arcpy.Point()
 point.X = x
 point.Y = y
 pointGeometry = arcpy.PointGeometry(point)
 arcpy.SelectLayerByLocation_management(rdsmall_lyr, "WITHIN_A_DISTANCE", pointGeometry, "20 Meters", "NEW_SELECTION")
 #print time.time() - start_time, "seconds"
 
 
class CreateShieldClass(object):
&amp;nbsp;&amp;nbsp;&amp;nbsp; """Implementation for ShieldToolAddinB_addin.tool (Tool)"""
&amp;nbsp;&amp;nbsp;&amp;nbsp; def __init__(self):
 self.enabled = True
 self.cursor = 3
 self.shape = "LINE" 
&amp;nbsp;&amp;nbsp;&amp;nbsp; def onLine(self, line_geometry):
 #start_time = time.time() #only used to compare rough run-times of different versions of the script
 arcpy.env.overwriteOutput = True
 
 #Hard-wiring the exact feature classes that will be edited with shield tool.
 shield_points_dataSource = r"GDB_HMS.HMSADMIN.hms_shields_points"
 shield_arcs_dataSource = r"GDB_HMS.HMSADMIN.hms_shields_arcs"
 rdsmall_dataSource = r"GDB_HMS.HMSADMIN.rdsmall_arc"
 
 mxd = arcpy.mapping.MapDocument('current')
 
 #for new shields to appear in current mxd, this script must refer to layers in the current mxd
 lyrs = arcpy.mapping.ListLayers(mxd)
 flag_points = 0
 flag_arcs = 0
 flag_rdsmall = 0
 for lyr in arcpy.mapping.ListLayers(mxd):
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if lyr.supports("dataSource"):
&amp;nbsp; if str(lyr.dataSource).endswith(shield_points_dataSource) and flag_points == 0:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; shield_points_lyr = lyr
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; flag_points = 1
&amp;nbsp; if str(lyr.dataSource).endswith(shield_arcs_dataSource) and flag_arcs == 0:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; shield_arcs_lyr = lyr
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; flag_arcs = 1
&amp;nbsp; if str(lyr.dataSource).endswith(rdsmall_dataSource) and flag_rdsmall == 0:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rdsmall_lyr = lyr
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; flag_rdsmall = 1
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
 if not (shield_points_lyr and shield_arcs_lyr and rdsmall_lyr):
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print "Must have 3 layers in this mxd: shield points, shield arcs, and rdsmall"
 
 #only allow shield creation if a single road arc is selected
 num_road_arcs = int(arcpy.GetCount_management(rdsmall_lyr).getOutput(0))
 print "%s rdsmall arc(s) selected" %num_road_arcs
 if num_road_arcs == 1:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; workspace = rdsmall_lyr.workspacePath&amp;nbsp; #(refers to .sde file in DatabaseConnections)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.env.workspace = workspace
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; edit = arcpy.da.Editor(workspace)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; edit.startEditing(True, True) #with undo, multiuser mode
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #identify maximum SHI_GRP_ID value currently used in shields feature class
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; max_id = sorted(arcpy.da.SearchCursor(shield_points_lyr.dataSource, "SHI_GRP_ID"), reverse = 1)[0][0]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #print max_id + 1
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #collect selected road arc attributes
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rdsmall_values = sorted(arcpy.da.SearchCursor(rdsmall_lyr, ["UA", "FAID_S", "CTCODE", "RTNUMBER", "AOTCLASS"]))
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #uncomment the last line of this block of code to turn off the truncation of the leader line
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #determine line coordinates, slope, and truncated line geometry based on first and last point.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a_pt = line_geometry.firstPoint
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b_pt = line_geometry.lastPoint
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; slope = (b_pt.Y - a_pt.Y)/(b_pt.X - a_pt.X)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; theta = math.atan(slope)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #fixed_length = 150.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fixed_length = 185.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if b_pt.X - a_pt.X &amp;lt; 0:
&amp;nbsp; x = fixed_length * math.cos(theta) * -1
&amp;nbsp; y = fixed_length * math.sin(theta) * -1
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else:
&amp;nbsp; x = fixed_length * math.cos(theta)
&amp;nbsp; y = fixed_length * math.sin(theta)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; point = arcpy.Point()
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; point.X = a_pt.X + x
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; point.Y = a_pt.Y + y
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; array = arcpy.Array()
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; array.add(line_geometry.firstPoint)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; array.add(point)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fixed_line = arcpy.Polyline(array)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #To remove the constraint of fixed shield arc lengths, uncomment the following line:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fixed_line = line_geometry #this line reverts the fixed_line to the original input geometry
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #create shield point feature and populate attributes
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; new_points_Cur = arcpy.da.InsertCursor(shield_points_lyr, ["SHAPE@XY", "UA", "FAID_S", "CTCODE", "RTNUMBER", "AOTCLASS", "SHI_GRP_ID", "INSET", "ISVISIBLE", "SUBINSET"])
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; test = (fixed_line.firstPoint,) + tuple(rdsmall_values) + (max_id + 1,)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; test_tuple = ((test[0].X, test[0].Y), test[1][0], test[1][1], str(test[1][2]), str(test[1][3]), test[1][4], test[2], "N", 1, "N")
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #test_tuple = ((test[0].X, test[0].Y), rdsmall_values[0], str(rdsmall_values[2]), str(rdsmall_values[3]), rdsmall_values[4], max_id + 1, "N", 1, "N")
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; edit.startOperation()
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; new_points_Cur.insertRow(test_tuple)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; edit.stopOperation()
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; del new_points_Cur
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #create shield arc feature and populate SHI_GRP_ID, CTCODE, UA, INSET, ISVISIBLE, and SUBINSET fields
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; new_arc_Cur = arcpy.da.InsertCursor(shield_arcs_lyr.dataSource, ["SHAPE@", "SHI_GRP_ID", "CTCODE", "UA", "INSET", "ISVISIBLE", "SUBINSET"])
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; edit.startOperation()
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; new_arc_Cur.insertRow([fixed_line, max_id + 1, str(rdsmall_values[0][2]), rdsmall_values[0][0], "N", 1, "N"])
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; edit.stopOperation()
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; del new_arc_Cur
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; edit.stopEditing(True) #save changes (doesn't work if an editing session is open in ArcMap, but )
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.SelectLayerByAttribute_management(rdsmall_lyr, "CLEAR_SELECTION")
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.RefreshActiveView()
 else:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print "Shield Not Created"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print "Must select a single arc from rdsmall"
 #print time.time() - start_time, "seconds"
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 05:37:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/selectable-layer-s-in-python-not-toc-buttons/m-p/704429#M54527</guid>
      <dc:creator>KerryAlley</dc:creator>
      <dc:date>2021-12-12T05:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: Selectable Layer(s) in Python - Not TOC buttons</title>
      <link>https://community.esri.com/t5/python-questions/selectable-layer-s-in-python-not-toc-buttons/m-p/704430#M54528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks!&amp;nbsp; I have my process built and it works in pieces, but when combined it fails.&amp;nbsp; I more just want to see how other people are doing a similar process so hopefully I'll be able to get mine to work.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2014 15:06:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/selectable-layer-s-in-python-not-toc-buttons/m-p/704430#M54528</guid>
      <dc:creator>ChrisHarlow1</dc:creator>
      <dc:date>2014-06-26T15:06:05Z</dc:date>
    </item>
  </channel>
</rss>

