User Name
Password
AppleNova Forums » Genius Bar »

Hacking Apple News


Register Members List Calendar Search FAQ Posting Guidelines
Hacking Apple News
Thread Tools
drewprops
Magnificent Basturd™
sagacious-d
 
Join Date: May 2004
Location: Atlanta
 
2020-02-03, 01:04

Up until I updated to iOS 13 I was running a script I'd made in the iOS Shortcuts app that stripped out the proprietary Apple News URL and pulled in the true, "raw" link instead. This was for sharing purposes, to obfuscate what I am sharing.

With 13 it appears that Apple is going to war with users like me because that Apple News link is all it's willing to give me.

I'll let you know if I manage a workaround.



...

Steve Jobs ate my cat's watermelon.
Captain Drew on Twitter
  quote
drewprops
Magnificent Basturd™
sagacious-d
 
Join Date: May 2004
Location: Atlanta
 
2020-02-03, 08:41

I'm building these shortcuts in the Shortcuts scripting app that Apple makes, if you don't know what I'm talking about.

...


Solved, badly:

1. Accepts anything
2. Copy URLs to Clipboard
3. Open URLs in Google Chrome
4. When Google Chrome opens it directs you to Apple's URL shortener webpage. It detects that you're on an iPhone, so you have to hit the CANCEL button in the pop-up asking you to let it open in Apple News on your phone.

There must be a cleaner way to deal with this via scripting, but that pop-up is a road block for me here.


...
  quote
chucker
 
Join Date: May 2004
Location: near Bremen, Germany
Send a message via ICQ to chucker Send a message via AIM to chucker Send a message via MSN to chucker Send a message via Yahoo to chucker Send a message via Skype™ to chucker 
2020-02-03, 12:45

Here's someone who solved it through scraping / a regex: https://www.icloud.com/shortcuts/e24...cf7c81581dac09

(via https://www.reddit.com/r/shortcuts/c...applenews_url/)

That approach is more brittle, but probably also much faster.
  quote
drewprops
Magnificent Basturd™
sagacious-d
 
Join Date: May 2004
Location: Atlanta
 
2020-02-03, 13:26

Thanks Chucker. I found this or a similar version online but since it isn't in the official gallery of shortcuts I can't install it automatically. Gahhhh!!!!!

Hate hate hate this walled garden today.


...
  quote
chucker
 
Join Date: May 2004
Location: near Bremen, Germany
Send a message via ICQ to chucker Send a message via AIM to chucker Send a message via MSN to chucker Send a message via Yahoo to chucker Send a message via Skype™ to chucker 
2020-02-03, 14:18

I think you just need to go to Settings, Shortcuts, [x] Allow Untrusted once and then you can just install a shortcut like that as you like.
  quote
drewprops
Magnificent Basturd™
sagacious-d
 
Join Date: May 2004
Location: Atlanta
 
2020-02-05, 23:43

Found a different one that does it SO MUCH EASIER than using Regex. Of course I spent a million years studying the other way, to no avail. Still had to adjust it to open in Safari instead. Will try building a duplicate version to open in Facebook next...



...

Steve Jobs ate my cat's watermelon.
Captain Drew on Twitter
  quote
drewprops
Magnificent Basturd™
sagacious-d
 
Join Date: May 2004
Location: Atlanta
 
2020-02-06, 11:41

Aaaaaand it largely still does not work with some Apple News stories. The Apple News app is a wall with only a few holes in it.



...
  quote
Posting Rules Navigation
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Post Reply

Forum Jump
Thread Tools
Similar Threads
Thread Thread Starter Forum Replies Last Post
Apple in the news Windswept General Discussion 63 2013-02-23 16:47
Where Do You Get Your Apple News? Moogs General Discussion 21 2012-09-12 15:43
Apple News osxfan General Discussion 1 2009-01-08 14:59
Hacking frontrow torifile Apple Products 3 2007-11-05 21:47
News for the Apple OCD Fan... Kickaha General Discussion 2 2007-05-21 23:15


« Previous Thread | Next Thread »

All times are GMT -5. The time now is 05:10.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright ©2004 - 2020, AppleNova