Ynet Article Viewer

By Lior Zur Last update Jan 26, 2006 — Installed 1,428 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 17 posts, 6 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
Lior Zur Script's Author

הי אור, תיקנתי את הסקריפט כך שכאשר סוגרים את המאמר, אתה חוזר למעלה להיכן שהתחלת. בינתיים לא מימשתי את ההצעה שלך לקופסה עם פס גלילה, למרות שזו הצעה מוצלחת, כי אין לי זמן.

 
Lior Zur Script's Author

Hi or, that's a good idea; you're right about the problem. I'll think of how to fix it. (not sure about the scrolling box, but maybe...)

 
or User

ממש מוצלח,
זה יהיה רעיון טוב לשנות את מבנה ההצגה לקופסה בגודל קבוע עם פס גלילה,
עכשיו כשאתה לוחץ על הסגירה אתה נמצא הרבה אחרי איפה שההית

 
mikiher User

Great one! Can you please add a close button in the beginning of the article as well? IMHO, it's not intuitive that you can close the article by clicking the link again (took me a few seconds to find)

 
Lior Zur Script's Author

I'll look into it. I never experienced this bug myself. Perhaps there's another factor involved.

 
Igal User

The auto-refresh of Ynet with this script is causing FF to crash. Once this script is disabled, FF does not crash anymore.

 
Lior Zur Script's Author

Thanks, Igal. Let me see if I understand correctly: the problem is that my script doesn't underline this link, because the link is not recognized as an article.
This behavior is actually by design. I'll try to explain. Those specific links are to opinion columns, and on Ynet their URL is similar to the URL of navigation pages. This isn't logical but it's how Ynet works. Blogs are similar. Now my script won't underline links to navigational pages -- and the blogs & opinion columns appear like them. I prefer not to activate the script when in doubt, so as to be on the safe side. You can still read these links as usual.

But it's true that it is a problem and I shall think of solving it. Is there a way to infer from the URLs that these are not navigational pages? If you think of one, let me know.

 
Igal User

http://www.ynet.co.il/home/0,7340,L-3241,00.html

 
Lior Zur Script's Author

Hi Igal, I can't locate the links that do not work. It will really help if you could pinpoint them exactly, and preferably post their URLs. Just right-click on the link, choose "Copy link location", and post it here. As for the second request -- seems reasonable, but I need to think how to implement it.

 
Igal User

Also, It'd be great if you could add a prefernce for an article, or section which will remember not to open up the viewer but use the "old" mode.

 
Igal User

Much better now, Thanks!
Still there are some links that will not open up. I've noticed in the main page and in the Sports section.

 
Lior Zur Script's Author

Daniel and Igal, Thanks for your great feedback. I've updated the script and fixed it according to your reports: I fixed the messed up news flashed page. I also added a Close button. I changed the included pages. However, I didn't add an extra link for reading the article in its own page, because middle-clicking the link can be used for this.

Also thanks for the anonymous hand who added tags to Israeli scripts (or was it a bot?)

 
Igal User

Also the script messes up the news flashes page: http://www.ynet.co.il/home/0,7340,L-184,00.html

 
Igal User

Very nice! You may want to add a close link/icon at the end of the article so you one won't need to scroll back up. Also notice that articles with an image do not open.

 
daniel Rozen... Scriptwright

oh, and the included pages would probably better be: http://ynet.co.il/* and http://*.ynet.co.il/*

 
daniel Rozen... Scriptwright

wow... THIS IS COOL :) - Tested it on 2-3 articles, couldn't wait to comment! One thing though - there should be an extra link if i want to read the article in it's own page, maybe a small arrow of something. Great idea!

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel