0
votes

Do attributes in an RSS feed have a character limit? I have looked at the specification and there is no mention of it. I am making a database table to hold the contents of an item and deciding on what length I should be setting for each column, this is what I have at the moment:

  • title VARCHAR(255)
  • description TEXT
  • link VARCHAR(255)
  • guid VARCHAR(255)
  • pubDate DATETIME
1

1 Answers

0
votes

There is no limit for the size of the fields in the spec and besides that there is no real advantage of doing varchar(255) for the size of the columns. Why don't you just go with varchar(max)? Also for the GUID, depending on your db, there could be a more suitable data type.