| | |
| | | |
| | | public void writeFeed(String feedTitel, String beschr, ServletOutputStream s, |
| | | List beitraege, String basis, String pfad, String contextPath) { |
| | | |
| | | long newest = -1; |
| | | String copyright = getJNDIParameter(WBX_FEED_COPYRIGHT); |
| | | String domain = getJNDIParameter(WBX_FEED_DOMAIN); |
| | | String title = feedTitel; |
| | | String description = beschr; |
| | | String language = "de"; |
| | | String link = domain; |
| | | |
| | | newest = ((File) beitraege.get(0)).lastModified(); |
| | | |
| | | Calendar cal = new GregorianCalendar(); |
| | | cal.setTime(new Date(newest)); |
| | | Date creationDate = cal.getTime(); |
| | | SimpleDateFormat date_format = new SimpleDateFormat( |
| | | "EEE', 'dd' 'MMM' 'yyyy' 'HH:mm:ss' 'Z", Locale.US); |