Closed Bug 1165481 Opened 9 years ago Closed 9 years ago

Use readability parser from readability github repo

Categories

(Firefox for iOS :: Reader View, defect)

Other
iOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: wesj, Assigned: st3fan)

Details

(Whiteboard: noteworthy)

Attachments

(1 file, 1 obsolete file)

We have this repo:

https://github.com/mozilla/readability

we should just import directly from it.
Attachment #8606519 - Flags: review?(sarentz)
Comment on attachment 8606519 [details] [review]
PR https://github.com/mozilla/firefox-ios/pull/469

I'm giving this a - because it copies all the Readability project files into our packaged application. Like tests, etc. I think it is fine to Carthage for this but don't drag the whole folder into the project. Instead just drag Readability.js in there.
Attachment #8606519 - Flags: review?(sarentz) → review-
Comment on attachment 8606519 [details] [review]
PR https://github.com/mozilla/firefox-ios/pull/469

Updated. Does having the files in the project actually build them or anything or do you just not like them being in the proj file?
Attachment #8606519 - Flags: review- → review?(sarentz)
Wes, they were actually part of the Copy Files phase. So those files would end up in the Firefox.ipa file. 

If it makes sense to have them in the project file then they should not be part of any targets.
Comment on attachment 8606519 [details] [review]
PR https://github.com/mozilla/firefox-ios/pull/469

This does not work for me. I did a clean checkout and ran `./checkout.sh`. In the project I now see a `readability` under `Third-Party Source` that has `Readability.js` in it. But, that file is marked red. And when I look at the path for it, it says `/Users/sarentz/Mozilla/firefox-ios/Readability.js`. Not sure what is going on here.

Do you want me to fix this? Just assign it to me.
Assignee: nobody → sarentz
I'll pick this one up.
Comment on attachment 8606519 [details] [review]
PR https://github.com/mozilla/firefox-ios/pull/469

Obsoleting this PR. Going to create a new one.
Attachment #8606519 - Flags: review?(sarentz)
This patch includes https://github.com/mozilla/readability as a Carthage dependency and pulls in the `Readability.js` from that checkout.
Attachment #8606519 - Attachment is obsolete: true
Attachment #8614686 - Flags: review?(sleroux)
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Whiteboard: noteworthy
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: