Connacht Clan
Official Supporters Club of Connacht Rugby

Create Website Articles
- Diom
-
- Offline
- Administrator
-
- Rise Up, Something Up
I didn't want to say anything Pinky... :blush:pinky wrote:
ummm, wrote: We've already got one at connachtclan.com/news?format=feed&type=rss
But a feed typically has a headline, brief description and a link to detailed info, in our case the full article. Feeds don't provide the whole article, it'd be too big.
Didn't realise that was there. Might stick in a link to it. Though maybe RSS is gone out of fashion.
A Connacht is not just for the Xmas Inter-Pros...
A Connacht is for Life
Please Log in or Create an account to join the conversation.
- pinky
-
- Offline
- Platinum Member
-
ummm, wrote: We've already got one at connachtclan.com/news?format=feed&type=rss
But a feed typically has a headline, brief description and a link to detailed info, in our case the full article. Feeds don't provide the whole article, it'd be too big.
Didn't realise that was there. Might stick in a link to it. Though maybe RSS is gone out of fashion.
Please Log in or Create an account to join the conversation.
- ummm,
-
- Offline
- Platinum Member
-
- Water Boarder
- Posts: 1984
- Thank you received: 515
As long as everyone sticks to that CSS style then we're good to go, and I don't have to do any work
]
Justice 4 Faruk
Please Log in or Create an account to join the conversation.
- Diom
-
- Offline
- Administrator
-
- Rise Up, Something Up
ummm, wrote: Big long tech description follows, feel free to ignore...
Yes and no ...
Well if the rest of the article is HTML we should be able to make the image scale.
EDIT:
I've updated that img to have the following CSS:
width: 100%; max-width:450px;
That means that it will take up 100% of the width of the containing element if the containing element is less than 450px wide. Let me know if it works or not.
A Connacht is not just for the Xmas Inter-Pros...
A Connacht is for Life
Please Log in or Create an account to join the conversation.
- ummm,
-
- Offline
- Platinum Member
-
- Water Boarder
- Posts: 1984
- Thank you received: 515
But a feed typically has a headline, brief description and a link to detailed info, in our case the full article. Feeds don't provide the whole article, it'd be too big.
Justice 4 Faruk
Please Log in or Create an account to join the conversation.
- pinky
-
- Offline
- Platinum Member
-
Please Log in or Create an account to join the conversation.
- ummm,
-
- Offline
- Platinum Member
-
- Water Boarder
- Posts: 1984
- Thank you received: 515
Yes and no, it's partially a web page. The articles are presented as a headline text box, an image box and then the rest of the article is the article body embedded in a web page.
This is done for a number of reasons, mostly to do with presentation. I want to control the headline size better and I want the main image more prominent. Also with iOS 7 the new edicts from the UI guidelines is for featured images to be entirely edge to edge, so I need to control this rather than having a web page making the layout decisions for me. This is what it looks like on the iOS 7 right now...
Everything else below the photo is an embedded web page, this means links etc will work. But if there are photos in the article then I have to either scale the web page down, which means shrinking text and possibly making things unreadable (and also breaks typographical consistency, which would be a big no no), or I have to manually edit any other images to make sure they aren't over the width of the screen.
This I can do, and I'll have a look at it this weekend, it might not be that big a problem. But as it stands all current versions of the app out there won't handle multiple images nicely. So for the moment there shouldn't be multiple images, but in future versions I can sort it out.
Incidentally this is why I was hoping there was another way to access news articles as ordinary text via JSON feeds instead of parsing raw HTML, which is icky.
Justice 4 Faruk
Please Log in or Create an account to join the conversation.
- Diom
-
- Offline
- Administrator
-
- Rise Up, Something Up
Is it presented as a web-page in the app?
A Connacht is not just for the Xmas Inter-Pros...
A Connacht is for Life
Please Log in or Create an account to join the conversation.
- ummm,
-
- Offline
- Platinum Member
-
- Water Boarder
- Posts: 1984
- Thank you received: 515
- Like Diom said, stick to the image dimensions. <strong>And don't add any extra images, the app will end up looking awful.</strong>
It's a nice photo of Wilko in the Dail article, but looks bad on the app
Justice 4 Faruk
Please Log in or Create an account to join the conversation.
- sea_point
-
- Offline
- Moderator
-
- Praetorian Guard
Decadence wrote: To be fair to Borders, it was me who copied that content into an article. I even copied it into a text editor first! Didn't catch the & though...
Too good for him... :evil:
Please Log in or Create an account to join the conversation.
- ummm,
-
- Offline
- Platinum Member
-
- Water Boarder
- Posts: 1984
- Thank you received: 515
(Ok, I'm not, the app couldn't load it...)
Justice 4 Faruk
Please Log in or Create an account to join the conversation.
- Decadence
-
Topic Author
- Offline
- Platinum Member
-
- Posts: 1152
- Thank you received: 795
"Our march is quite slow y'know, when we get to where we want to get to, it's going to take time, but when we get there it's going to be fantastic." - Johnny O'Connor 2013
Please Log in or Create an account to join the conversation.
- sea_point
-
- Offline
- Moderator
-
- Praetorian Guard
ummm, wrote: I won't name who it was but his initials are "Borders no.2"
It's no big deal, though. I'm happy to put myself as proof reader/grammar nazi for the articles and make sure they're always viewable on the app.
Jaysus Ummm, you're some pain in the goebbels....(legger )
Please Log in or Create an account to join the conversation.
- ummm,
-
- Offline
- Platinum Member
-
- Water Boarder
- Posts: 1984
- Thank you received: 515
It's no big deal, though. I'm happy to put myself as proof reader/grammar nazi for the articles and make sure they're always viewable on the app.
Justice 4 Faruk
Please Log in or Create an account to join the conversation.
- Diom
-
- Offline
- Administrator
-
- Rise Up, Something Up
ummm, wrote:
ummm, wrote: <strong>- Do not use "&". </strong>
I really, really, really mean this.
Was it me?
A Connacht is not just for the Xmas Inter-Pros...
A Connacht is for Life
Please Log in or Create an account to join the conversation.
- Sol_ie
-
- Offline
- Administrator
-
- Posts: 2920
- Thank you received: 1909
Committee Member
Treasurer
Please Log in or Create an account to join the conversation.