Date   

Re: Top Margins

Jeremy Hughes
 

Hi David,

If you're referring to space that appears above a pagediv, this may be caused by a margin that is attached to the first element that is within the pagediv (or to a child of the first element).

For why this happens, look up "collapsing margins" in the Xway User Guide.

To remove this space, click inside the first paragraph that is within the pagediv, or within the first box that is within the pagediv, and change the Top Margin value from "1 em" (the default value for paragraphs) to zero.

Jeremy


Top Margins

david@...
 

I am stuck on how to make the light blue at the top narrower. I have tried Document:PageDiv Margins but that does not seem to work. Any thoughts?
Thanks
David


--
_____________________
David Gill


Re: How to embed a Facebook page plugin

masteluin@...
 

OK! Thanks!


Re: How to embed a Facebook page plugin

Jeremy Hughes
 

It's also worth noting that you can change the width and height of the plugin by entering values in the "width" and "height" fields on the Facebook page (before clicking on the Get Code button). The width can be anything from 180 to 500, and the minimum height is 70. If you do this, you should also change the width and height of the iframe to the same values in Xway.

Jeremy


Re: How to embed a Facebook page plugin

masteluin@...
 

This works! Grazie mille!


Re: How to embed a Facebook page plugin

Jeremy Hughes
 

What I would do is:

1. Click on the Get Code button (on https://developers.facebook.com/docs/plugins/page-plugin )
2. Click on IFrame at the top of the Code box
3. Copy the IFrame "code"
4. Go to Xway and insert an iframe
5. Paste the code that you copied into the URL field (Xway will extract the iframe link)
6. Set the width and height of the iframe to 340 (width) and 500 (height) - matching the values in the original code.


How to embed a Facebook page plugin

masteluin@...
 

How to embed a Facebook page plugin?
https://developers.facebook.com/docs/plugins/page-plugin
I don't know where or how to insert the 2 codes!
I tried a lot of things but it didn't work....
Please can someone help me?


Re: GDPR Cookie Management

Simon Manning
 

Hi Richard,

I haven't looked into exactly how these things interact but do you primarily want this for third party marketing cookies, e.g. Facebook or Google ads?

From the perspective of managing it in Xway, this could potentially become part of Xway's version of Actions. For instance, a Facebook ad component might specify that it uses cookies and define how they should be dealt with. A Google ad component, or anything else of any nature, would do the same and during publish, Xway could use this collective information to add cookie acceptance to the page(s). (If enabled)

Beyond that, I'm not sure how useful cookie management within Xway would be. Accepting or declining any particular cookies probably requires some technical understanding of the cookies, how they're used and the software (e.g. Wordpress, Google Ads, etc.) using them. This could make for a very complex feature (both in Xway code and user interface) that would be difficult to document and support.

I imagine most Xway sites, outside of those using things like third party marketing, won't be using cookies and so won't require any message for visitors.

Are there any other things you have in mind for cookie usage?

Simon

On Fri, Aug 21, 2020 at 4:54 PM Richard Cacciato <rcacciato@...> wrote:
Hi Jeremy, a suggestion: could you "bake in" something that would enable us easily to add the whole "accept cookies" process and manage it in an Xway site? I haven't seen any mention of anything like this and it would be on my wish list. Thanks.


Re: GDPR Cookie Management

Geoff Mullett
 

Oh! Yes please!


Re: Xway & Transmit

Seth Rosenblum
 

A quick update to the Transmit issue, instead of copying/pasting the site folder path into the transmit favorite (which doesn’t work), I dragged the location from a finder window into the transmit favorite and that seemed to work just fine. Not sure what the difference is between copying/pasting the path and dragging the folder location from a Finder window is but there must be something….
 


GDPR Cookie Management

Richard Cacciato
 

Hi Jeremy, a suggestion: could you "bake in" something that would enable us easily to add the whole "accept cookies" process and manage it in an Xway site? I haven't seen any mention of anything like this and it would be on my wish list. Thanks.


Re: Xway & Transmit

Jeremy Hughes
 

On Fri, Aug 21, 2020 at 04:19 PM, Jeremy Hughes wrote:
Symbolic links are represented as aliases in the Finder — so it’s possible we could have a "Save Site Folder Alias” command that creates a symbolic link. Personally, I’d prefer to have the Site Folder that users see be separate from the Site Folder that Xway stores within the document, because there’s a danger of users damaging the document package if they don’t know what they’re doing.
The symbolic link trick (ln -s in the Terminal) would still be available for anyone who knows what they're doing!

Jeremy


Re: Xway & Transmit

Jeremy Hughes
 

One other point that is worth noting is that creating a separate external Site folder from the internal document Site folder won't use up any extra disk space if you have an APFS drive, and the external Site folder is on the same volume. APFS clones files that are copied to the same volume. What this means is that the two files actually share the same data, until one of them is changed. All modern Macs have APFS internal drives. External non-SSD drives normally use the older HFS+ file system.

Jeremy


Re: Xway & Transmit

Jeremy Hughes
 

Hi Bert,

That won't happen, because the Resources folder and Site folder are stored within the document package (not within the application package).

Each document that you create contains a Site folder and a Resources folder that contain resources and published files for that document. Updating the Xway application doesn't affect documents.

Jeremy


Re: Xway & Transmit

Bert Green
 

Doesn't storing the resources folder inside the package create the possibility of accidentally overwriting it when reinstalling the software?


Re: Xway & Transmit

Jeremy Hughes
 

Hi David,

Symbolic links are represented as aliases in the Finder — so it’s possible we could have a "Save Site Folder Alias” command that creates a symbolic link. Personally, I’d prefer to have the Site Folder that users see be separate from the Site Folder that Xway stores within the document, because there’s a danger of users damaging the document package if they don’t know what they’re doing.

Jeremy


Re: Xway & Transmit

Jeremy Hughes
 

Hi Walter,

Export to Site Folder would be similar to “File Copy" upload in Freeway (we’ve been recommending “File Copy” to Freeway users for a while now, so they can switch to using an external FTP program if they have problems with internal upload) — so, yes, if you neglected to export before uploading, the folder wouldn’t be up-to-date. On the other hand, this could be an advantage if you wanted to set up a folder so that it is automatically uploaded when its contents change — it wouldn’t automatically upload after every preview.

The long-term goal is to have an internal upload option in Xway. “Show Site Folder” is a stop-gap method. I’ve never been happy about the way it exposes the internal data of the document package.

Jeremy


Re: Xway & Transmit

David Ledger
 

On 2020-08-21 15:46, Walter Lee Davis wrote:
Jeremy, I'd be careful about that method because of the chance of the data becoming stale. Sounds like a useful short-term work-around, but it's going to need a lot of care in documenting and support while it's in use. At the very least, a Mail macro to answer the inevitable "why isn't my site updating" questions.
Walter
If the Xway 'Export' were a link rather than a copy that wouldn't happen. Maybe 'Export' isn't the right word either - 'Save Pointer'? 'Save Alias' would imply an Apple Alias, 'Save Link' could be confused with an HTML link ...

David


On Aug 21, 2020, at 10:45 AM, sethr via groups.io <sethr=me.com@groups.io> wrote:

The terminal link worked! A bit of a run around but at least there is a way. I would think that the ability to "export site folder" would be more helpful. Thanks Jeremy!


Re: Xway & Transmit

Walter Lee Davis
 

Jeremy, I'd be careful about that method because of the chance of the data becoming stale. Sounds like a useful short-term work-around, but it's going to need a lot of care in documenting and support while it's in use. At the very least, a Mail macro to answer the inevitable "why isn't my site updating" questions.

Walter

On Aug 21, 2020, at 10:45 AM, sethr via groups.io <sethr=me.com@groups.io> wrote:

The terminal link worked! A bit of a run around but at least there is a way. I would think that the ability to "export site folder" would be more helpful. Thanks Jeremy!


Re: Xway & Transmit

Seth Rosenblum
 

The terminal link worked! A bit of a run around but at least there is a way. I would think that the ability to "export site folder" would be more helpful. Thanks Jeremy!

381 - 400 of 971