Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 781559
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T20:14:58+00:00 2026-05-14T20:14:58+00:00

I’m trying to read a calendar feed from http://meetup.com/ , but it seems that

  • 0

I’m trying to read a calendar feed from http://meetup.com/, but it seems that iCal4j is unable to deal with linebreaks in X-ORIGINAL-URL attributes: it fails on this line:

X-ORIGINAL-URL:http://www.meetup.com/chicagoscala/calendar/ical/The+Chicago
 -Area+Scala+Enthusiasts+(CASE)+Meetup+Group/

with this exception:

net.fortuna.ical4j.data.ParserException: Error at line 7: Illegal property [ -AREA+SCALA+ENTHUSIASTS+(CASE)+MEETUP+GROUP/]
    at net.fortuna.ical4j.data.CalendarParserImpl.parse(CalendarParserImpl.java:133)
    at net.fortuna.ical4j.data.CalendarBuilder.build(CalendarBuilder.java:174)
    at net.fortuna.ical4j.data.CalendarBuilder.build(CalendarBuilder.java:155)

I filed a bug for it, but I didn’t get any response yet. Is this a known problem?

BTW, this is a snippet of a hexdump of that file:

00000060  4e 0a 58 2d 4f 52 49 47  49 4e 41 4c 2d 55 52 4c  |N.X-ORIGINAL-URL|
00000070  3a 68 74 74 70 3a 2f 2f  77 77 77 2e 6d 65 65 74  |:http://www.meet|
00000080  75 70 2e 63 6f 6d 2f 63  68 69 63 61 67 6f 73 63  |up.com/chicagosc|
00000090  61 6c 61 2f 63 61 6c 65  6e 64 61 72 2f 69 63 61  |ala/calendar/ica|
000000a0  6c 2f 54 68 65 2b 43 68  69 63 61 67 6f 0a 20 2d  |l/The+Chicago. -|
000000b0  41 72 65 61 2b 53 63 61  6c 61 2b 45 6e 74 68 75  |Area+Scala+Enthu|
000000c0  73 69 61 73 74 73 2b 28  43 41 53 45 29 2b 4d 65  |siasts+(CASE)+Me|
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T20:14:59+00:00Added an answer on May 14, 2026 at 8:14 pm

    Ok, passing in an UnfoldingReader yourself seems to do the trick. If you set the buffer size large enough, it will be able to restore the value correctly. Strange.

    reader = new UnfoldingReader(new InputStreamReader(uri.toURL().openStream()), 3000);
    return new CalendarBuilder().build(reader);
    

    I also set ical4j.properties to this:

    ical4j.unfolding.relaxed=true
    

    Not sure if that made a huge difference, but at least it works.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I am trying to understand how to use SyndicationItem to display feed which is
I have a French site that I want to parse, but am running into
I'm trying to create an if statement in PHP that prevents a single post
Basically, what I'm trying to create is a page of div tags, each has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I want to count how many characters a certain string has in PHP, but
For some reason, after submitting a string like this Jack’s Spindle from a text

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.